I have a
JSP with a table consisting of few rows.The user should select a row and click on "NEXT" button to go to next jsp.In the 2nd jsp there is a "BACK" button which takes you to previous jsp.The issue is that on click of "BACK" the user should see the 1st jsp as it was before the control came to 2nd jsp,meaning if the user selected row 5 and goed to 2nd jsp,on Back ,the user should be able to view jsp1 with the row 5 as selected.what should be done here on back?
I wrote a function for selection of the row.
1)history is ruled out as I have many jsp's each having a back button
2)Ajax loads everything again onback but is it good to manage selected row like this?