Thanks Dave! I've heard rumblings about using session, so I thought I'd avoid it this time to implement something "clever". :-)
In the end, simplicity prevails! -----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 11:57 AM To: Struts Users Mailing List Subject: Re: Struts2: Carry parameters into following jsp/action The quickest/easiest solutions are chaining (boo hiss) or just keeping a form model in the session like in any other framework. Dave --- On Fri, 12/5/08, Peterson, Ryan wrote: > I have a form filled out that may require additional info, > which I have > a 2nd jsp form for. How can I carry over the already > entered parameters > from the first form to the second, so that all info may be > submitted to > an action. > > > > For example: data is collected from form1.jsp. Say name, > age, height > > This is submitted and determined to need form2.jsp, which > would then ask > for hair color and eye color. > > > > From form1, "form2.action" is called upon submit, > which in my struts.xml > is: > > > > <action name="form2"> > > <result>.../form2.jsp</result> > > </action> > > > > How can I carry over the name, age, and height from form 1 > to 2? Then > once it is there, are hidden fields the best method to have > all of the > information submitted to the final action? --------------------------------------------------------------------- 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]