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.
<td width="340" valign="top">
<html:submit styleId="trackingSubmit" onmouseover="this.id='trackingSubmitSelected'" style="WIDTH: 120px; HEIGHT: 25px"
onmouseout="this.id='trackingSubmit'" value="Back" onclick="bCancel=true" property="back"/>
</td>
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