Hi, In my application i tried using the back button with javascript but its not working and instead it was calling the action specified in the form tag. IN Detail: <s:form method="post" action="xyz" namespace="/a" > <s:submit type="button" value="Back" cssClass="btnNormalFixed" align="left" onclick="JavaScript:history.go(-1)" accesskey="B" onmouseover="this.className='btnNormalFixedHover'" onmouseout="this.className='btnNormalFixed'" /> <s:form>
when i click the back button, it was not rendering the previous page..instead it was calling the xyz action. So, pls help me out in this issue.