From your perform() method
return new ActionForward(mapping.getInput());
Providing you defined the input="foo.jsp" attribute in your 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
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 unsu
2 matches
Mail list logo