From your perform() method
return new ActionForward(mapping.getInput());
Providing you defined the input="foo.jsp" attribute in your <action ...
/> in struts-config.xml.
Nicolas De Loof wrote:
> In an action, how to forward the user to the input page ?
>
> ActionMapping.findForward("input") doesn't has a ActionForward for this.
> I use :
>
> RequestDispatcher rd
> = request.getRequestDispatcher(mapping.getInput());
> rd.forward(request, response);
>
> Is there a better way ?
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>