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

Remove browser cache

shlomy bentulilah
Ranch Hand

Joined: Oct 25, 2007
Posts: 37

I have an action that first do something based on a from the user submitted and second it displays a success (jsp) page.
My problem is when the user press the browser back button within the success page because I dont want him to see the form he filled but a "reset" form or page expired ...

In other words I think I want to know how I can control the brpwser cache?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

Have you looked at the no-cache attribute for HTML meta tags?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Remove browser cache
It's not a secret anymore!