wood burning stoves 2.0*
The moose likes Struts and the fly likes How can i disable backward and forward buttons of the browsers using js,in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How can i disable backward and forward buttons of the browsers using js,in struts2" Watch "How can i disable backward and forward buttons of the browsers using js,in struts2" New topic
Author

How can i disable backward and forward buttons of the browsers using js,in struts2

reshmi aneesh
Greenhorn

Joined: Feb 01, 2011
Posts: 15
How can i disable backward and forward buttons of the browsers using js,in struts2
answers will be appreciated.

Thanks in advance
Raneesh
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3106
    
  41

Welcome to JavaRanch, Reshmi.
You may find something interesting in InterfaceDesignersRule1


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
reshmi aneesh
Greenhorn

Joined: Feb 01, 2011
Posts: 15
i tried doing with histroy.forward(); but its not working in opera and chrome.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61232
    
  66

This is not a JSP issue, and as already pointed out, a horrible thing to try and do.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3106
    
  41

Tom Rispoli,
Your post was moved to a new topic.
reshmi aneesh
Greenhorn

Joined: Feb 01, 2011
Posts: 15
can anybody help me to solve my issue to disable forward and backward keys of browser???
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3106
    
  41

reshmi aneesh wrote:can anybody help me to solve my issue to disable forward and backward keys of browser???

Did you read the InterfaceDesignersRule1 ? Why do you really need to do that after pointing out that it's a horrible thing to try out?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can i disable backward and forward buttons of the browsers using js,in struts2