hi, Once you have retrieved the data in your action from the form bean, you can put it in the request scope of the action class execute method. The same will be available when you get forwarded to the next JSP in the request scope of the second JSP page which can the be used to for prepopulation.
----- Original Message ----- From: "Scott Goldstein" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 10:56 AM Subject: Design Pattern question > I'm new to Struts and I ran into a problem with my first application. It > appears that only one form bean can be assigned to a single action. However, > I have a situation in which I have one page with a form that leads to another > page with a form. Specifically, on Page A, I have a select box. The user > selects an item and presses an Edit button. The Edit button submits the form > and the user is brought to the next page, Page B, which contains the form used > to edit the item. > > So, if the Edit button leads to an Action, it will pull the selected item from > a FormBean assigned to the action. Then, how do I prepopulate the form bean > for the next page? Do I have to somehow forward to another Action? If so, > how do I carry the selected item over to the new Action? > > Thanks for the help. > > Scott > > > ----------------------------------------------------- > Shanje.NET > The webmaster's 1st choice for Windows 2003 Hosting > http://www.Shanje.NET/ > ----------------------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]