RE: Retaining Textbox values even after form submit

2004-04-17 Thread Khalid K.
You can presist the lastSearchTerm in HttpSession and update your form object with it. In Action something like If(session.getAttribute(lastSearchTerm) != null) myform.setSearchTerm((String) session.getAttribute(lastSearchTerm)); -Original Message- From: Nilesh [mailto:[EMAIL

Re: Retaining Textbox values even after form submit

2004-04-17 Thread Craig McClanahan
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 )