Re: How to get ActionForward for input ?

2002-04-16 Thread rob
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

How to get ActionForward for input ?

2002-04-16 Thread Nicolas De Loof
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