Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to disable the Back and Refresh functionalities?

 
Jvin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In our struts applications, if I click on back, it will take me to
previous page. How can I avoid this? How to disable the Back and Refresh
functionalities?

I dont mean disable back and refresh buttons on browser. But I mean
to disable the functionalities itself.

Thanks for any replies,
Jim
 
Pranav Sharma
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you will need to use tokens.

look at this
http://www.javaworld.com/javaworld/javatips/jw-javatip136.html
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ted",

Welcome to JavaRanch. We don't have many rules here, but we do have a naming policy which we try to strictly enforce. Please re-read this document and edit your display name in order to comply. Thanks in advance and we look forward to seeing you around the Ranch.
 
Pranav Sharma
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The sheriff is in town and he is taking no prisoners!!!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic