how to make navigation of pages easy without losing variable values in between?
Posted on 2006-05-03
my jsp application provides multiple "submit" functions in different pages which have to pass some values to the next pages or java classes to return the proper results. however, i don't want the users to receive error message when they just use "back button" on the browser to go back to some previous page and re-submit again since some values might not exist any more.
what should I do? what is the best way to handle case like this? should I just set all the variables to a session variables? i worry that might slow down the application and some side affect. thanks