This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
internet detective

Joined: May 26, 2003
Posts: 29219

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

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Remove browser cache
Similar Threads
Login problem
session cahe
Clearing of JSP Page and form data from cache
Enable Browser Cache in IE
Response as PDF