You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Billy Ng <kw...@earthlink.net> on 2002/10/23 00:15:36 UTC

Redirect Question

I am trying to create a redirect method.  What I am trying is following things in the Action.  but I got the error saying I can't set the Response since it is already commited.  If I don;t want to specify a redirect forward in the struts-conf.xml, how can I do it in the Action?

HttpServeletResponse.sendRedirect(url);
return null;

Thanks!

Billy Ng