Thanks for this answer Manish, what would you do if you need to change the value of one form parameter in action A and you want to avoid this value to be lost after the forward to action B ? Is it possible to duplicate the actionform object in a "copy object" that the Struts Request Processor wil not overwrite in Action B ?
BR Eric ----- Original Message ----- From: "Manish Singla" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, November 24, 2003 6:53 PM Subject: Re: ActionForm field not changing when forwarded to Action > Because when you forward to Action B, at that time Struts Request > Processor again processes Action Form. (FYI: In Action B, request is > still having old values from Form F. Thus, values are reset and populated) > > HTH > Manish Singla > > bort wrote: > > Hi all > > > > I have an application which exhibits two similar, yet distinct, behaviours. > > > > Behaviour 1: > > > > Submit Form F to Action A. In Action A change 1 (or more) of the fields in > > Form F. Forward to JSP J. > > > > Behaviour 2: > > > > Submit Form F to Action A. In Action A change 1 (or more) of the fields in > > Form F. Forward to Action B. Action B then forwards to JSP J. > > > > The two behaviours are the same with the exception of the final forwards. > > The problem is that while the field value that's changed during Behaviour 1 > > remains changed when JSP J is presented, the field value does not change > > during Behaviour 2. > > > > Does anyone know why? > > TIA > > bort > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- > Thanks > Manish Singla > x73166 > > > --------------------------------------------------------------------- > 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]

