posted 16 years ago
This task seems to be easy, but i stuck up for a while.
I need to create a sequence of 3 web pages 2 times: first time for adding, second time for editing. Every page has a BACK button inside the .jsp code.
I did the adding part and most of the code i reused (copy-paste) in editing part. Everything works fine EXCEPT the BACK button in the editing part.
Actually, the editing button BACK goes to the same page where the adding BACK button goes.
How should i go BACK to the appropriate page? Can you post me code for button inside the .jsp that will function same as the browsers back button?
Regards
P.S.
I tried with the javascript history too, without success