You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/03/01 07:55:01 UTC

Re: Persisting values from a form

Subject: Re: Persisting values from a form
From: "zb cong" <zh...@163.net>
 ===
hello

i don't  know your detail,but i think , in your Action class, you can
encapsulate your ActionForm class to a object,and save it to your
session,when you come back,you can retrieve the object from your session
variable.



"David Hoots" <dl...@kietra.com> wrote in message
news:mailman.1014945301.8701.struts@basebeans.com...
I have a form that is a set of criteria used for performing a search.  I
don't need to persist the search criteria across Web sessions, but would
like to persist them within a session.  Every time I go to the page that has
the search criteria a new form instance gets created.  Could anybody tell me
a way to get struts to reuse a form that was previously saved (in the
session for example)?

Thanks in advance,
David




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>