Nilesh wrote:

In my Struts application I am implementing Search, It is working fine with the relevant results being displayed.
In the result page I again have the same SearchForm.
The user can search any number of times because he is always provided with SearchForm.
I want to retain (display ) the last searched text in the resultpage textbox.
Does Struts provide any facility for this or do I need to use a bean or something like that.
Please suggest options.


The simplest thing would be to make the form bean for your search form be in session scope instead of request scope -- then it will retain its field value(s) in between requests with no extra work.

Thanks in advance, for your interest in answering my question

Regards,
Nilesh.



Craig


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



Reply via email to