David Hoots wrote:

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

Have you tried setting the scope of the form to "session" in your struts-config?

    <action    path="/search"
               type="struts.SearchAction"
               name="searchForm"
               scope="session">
    </action>

Bruce


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to