Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud
this week in the
Cloud/Virtualization
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Struts
I want to prevent the user from going to the previous page
Anil Verghese
Ranch Hand
Posts: 155
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I have a transaction screen, once the user hits the save button he is taken to his home page. Now if he hits the back button of the browser how do I prevent the previous transaction page from being displayed.
Regards
Anil
Dom Lassy
Ranch Hand
Posts: 181
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can use tokens.
John Melton
Ranch Hand
Posts: 49
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dom is right, You can use the saveToken(), isTokenValid(), and resetToken() methods to use and validate tokens in your application. Check this site for a quick example -
http://www.learntechnology.net/content/struts/struts_token.jsp
Hope this helps.
[url]www.jtmelton.com[/url]
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Logging out problem in JSP
j_security_check - backbutton to the error page after logging in feels dumb
Problem using Browser Back or Refresh
page relaod probem- resending data to servlet
Struts JSP exception
More...