File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "help needed" Watch "help needed" New topic

help needed

Rahul Agarwal
Ranch Hand

Joined: Sep 13, 2000
Posts: 52
Well I need help
I am working on servlets ,jdbc
what i need to do is either disable the back button in the browser or clear the history so that user cannoty use back button
Can somebody help me and tell me the way
thax in advance
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
I am moving this post to the HTML-JavaScript Forum where it may get the attention that it deserves...

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Angela Poynton
Ranch Hand

Joined: Mar 02, 2000
Posts: 3143
Sorry rahul you cannot do that!! The back button is part of the browser functionality and you cannot write code to affect that!
See this post for more info!!

Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.
I agree. Here's the link:
subject: help needed
It's not a secret anymore!