> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: maandag 22 oktober 2001 19:03 > To: [EMAIL PROTECTED] > Subject: Re: Form properties reset ? > > > Yes, I would expect this. Any properties you set in the form > bean from the > first action will be cleared when the form bean is reset prior to > populating it for the second action.
OK, I see what happens now. The question remains whether this is good behaviour (on a design level): if one changes the form in a first action, I think these changes should remain in the form. I really don't see a reason why the changes should disappear. > If you need to add additional parameters to the request, > you'll need to do > it by adding them to the URL used to invoke the second action. > Alternatively, you could avoid the use of parameters, and > pass them as > request attributes instead. ...or get the parameters again from the same request (what I do now). But this does seem clumsy. Anyway, thanks a lot for the insight you've given me! I'll think about it a little more... tomK > > -- > Martin Cooper > > > At 08:56 AM 10/19/01, Tom Klaasen (TeleRelay) wrote: > >Hi all, > > > >I noticed the following: > > > >I have a jsp with a corresponding form. When I press > "submit", it gets > >forwarded to an Action which sets some additional properties on the > >form. Then I forward to another Action. When I read the additional > >properties of the form, they have disappeared. Is this > normal behaviour? > >And if so, why? > > > >thanks, > >tomK > > >