Yes, I thought of that, but reset() is not being called (I put a println to
see).  Rather, a brand new form is being passed (which is correct if it was
at request level).  This is why I wanted to keep the old one in session.

----- Original Message -----
From: "Rob Leland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 12:11 AM
Subject: Re: Problems setting form in session


>
> > 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