I have a search page where i can select some criteria, say Name: xxx and click on search which gives multiple results. I select one of the record from search results and go to an other page. If I come back to search page, previous search results and sorting order is cleared. How can i retain my previous search results and sorting order?
Please advise me a best solution in Struts or Jsp...
When you display the results for the first time . .what are you using? A bean I guess.. Keep the bean in the session and it would then dispaly the results in the same order once again ..
Remember to clear the bean from the session .. once it is no longer required.