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]

Reply via email to