A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Doubts in adding headers to response
Mike Thomson
Ranch Hand
Joined: Nov 07, 2007
Posts: 115
posted
Mar 25, 2008 04:38:00
0
What is the purpose of the following things added to the response?
response.setDateHeader("Expires", -1); response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate"); response.setHeader("Pragma", "no-cache");
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
I like...
posted
Mar 25, 2008 04:39:00
0
These headers suggest that the browser not cache this page.
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
I agree. Here's the link:
http://aspose.com/file-tools
subject: Doubts in adding headers to response
Similar Threads
Setting response page expire time
Problem with browser caching
how to clear the cache in JSF?
logout problem
multiple get requests - one thread serving them all?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter