This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Control cache in Servlet or..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Control cache in Servlet or..?" Watch "Control cache in Servlet or..?" New topic
Author

Control cache in Servlet or..?

Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
Hi friends,
If I want to control cache should I do it through my servlet or my template?
Many thanks,
Elahe


Thanks,
Elahe
Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
Dear Friends I found the answer this tag in HTML can refresh the page to make sure it is not cached
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=http://www.some.org/some.html">
Elahe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Control cache in Servlet or..?
 
Similar Threads
Page Expiry
problem in Servlets and JSP's
JSP Caching in Tomcat
request's no-cache vs response's no-cache
Servlet and IE Back Button...help!!