tags:

views:

28

answers:

1

Hello ,

I have a search form.When user post the search form i take the user to the result page which has results of the search.Now if the user click on the back button of the browser ,i want that he should go to the search page form filled with his values.I am using java

A: 

Use cookies.

when the user submits, just store a json or other simple serialized string needed to configure your search form.

Then on the search form page build out, just check for the existence of the cookie, if no cookie, no value, etc.

mike clagg