return mapping.findForward("myPage"); //from struts-config.xml aka global forwards.
or if you are doing dynamic forwards then... return new ActionForward(request.getParameter("forwardPage")); return new ActionForward(request.getParameter("forwardAction")); or in the session return new ActionForward(request.getSession().getAttribute("forwardPage")); does that help? Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/22/2005 4:34:47 PM >>> Which part are you agreeing with? Setting the hidden field to be 'pageB.jsp' and having the Action return (mapping.findForward(request.getParameter("page"))? - This wouldn' put all the page flow in one file though. Eric Lemle wrote: >sure you just forward to a .jsp or an Action. > > >Eric D. Lemle >Senior Programmer / Analyst >Intermountain Health Care >36 South State Street, Suite 1100 >Salt Lake City, Utah 84111 >United States of America (USA) >(801) 442-3688 -- e-mail: [EMAIL PROTECTED] > > > > >>>>[EMAIL PROTECTED] 2/22/2005 4:15:43 PM >>> >>>> >>>> >Hi, > I want to follow the Struts model and have all my page flow be in >struts-config. However, I have a couple of JSP-only pages that forward > >to each other. Is there a way to set this flow up? A -> B->C. > >An example I have is of a search page -> results -> edit individual >result. > >I thought of setting a hidden field in each page that could get used as > >the 'forward' attribute in the form, but that would leave those values > >in the JSP page, not struts-config. > >- Nic. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]