aspose file tools
The moose likes JSP and the fly likes Browser Back buton Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Browser Back buton" Watch "Browser Back buton" New topic
Author

Browser Back buton

Bharadwaj Adepu
Ranch Hand

Joined: Dec 30, 2007
Posts: 99
How can i disable a browser's back button in a JSP page??
I dont want to go back using Browser's back button.How can i do it?


SCJP 1.5
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You can't.
This is a good thing.
The back button isn't yours. It belongs to the user of the browser and is there for him/her to navigate across different sites as well as different pages within a single site.

It's not for the developer of any particular site or application to decide whether or not this feature is available to an end user.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Browser Back buton
 
Similar Threads
javascript question.
Disable browser back button with flex 4 application
controlling going back to previous page after logout
Disabling Browser's 'BACK' button
Ok. But where is the Cancel?