You can keep the form is "session" scope, which will preserve their values.

Or...

Have one ActionForm which contains all the data from formA and formB and
store the values from formA as hidden fields on formB. That way when formB
gets submitted, all the values from formA will also be populated.



----- Original Message ----- 
From: "Kelly Goedert" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 13, 2004 5:51 PM
Subject: keeping data between requests


> Hi all,
>
> I would like to know what would be the best approach to a situation like
> this:
>
> I have a form named formA which executes actionA, then he is forwarded
> to formB where he will execute actionB on submit.
>
> The problem is: when I execute actionB, I have to know about some data
> the user posted on formA.
> How could I solve this problem??
>
> Thanks
>
> Kelly.
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to