How to disable browser "Back" and "Forward" button from a JSP page?

Questions by meSubhadip   answers by meSubhadip

Showing Answers 1 - 5 of 5 Answers

Manjiri

  • Jul 3rd, 2007
 

Use this code to disable backward button.
Write this code in the previous file.

<script language="JavaScript">

javascript:window.history.forward(1);

  Was this answer useful?  Yes

batswon

  • Jul 14th, 2008
 

buttons are not disabled but when you click on them action is not performedif you have no common .js file for all pages include follwing in all jsp pages

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions