> Eric Rasmussen wrote:
> 
> I am trying to set a form bean in session so it can be used accross
> Action classes.  Specifically, I am trying to get the form bean to
> remember a value so it can repopulate the jsp page accordingly when
> that page appears again (if the user hits 'cancel').



> As you can see, the form bean was not put into session by the
> struts-config file (user we explicitely put into session).  Either
> that, or I am misunderstanding something (it happens).
> 
Before a form is reused it's reset() method
is called. If your form has a reset method
it will get called before it is reused in the
next request.

I usually rename my reset to resetNow(),
and manually do a resetNow() for a clean form.



> Could someone give me some advice on this?
> 
>     Thanks,
>         - eric

Reply via email to