Expiring a page on Apache/Tomcat
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abraham_Jacob
Posted On:   Friday, October 19, 2001 10:01 AM

Please use html tags to format code blocks.Hi All,

I am trying to expire a page on Tomcat Apache

In my JSP code I have set this up
<%
response.setDateHeader ("Expires", 0);
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-store");
response.setDateHeader("max-age", 0);
response.setDateHeader("Expires", 0);
%>

For development I am using JDeveloper from where it works fine.

But when I run it on Apache/Tomcat it does not work. Why ??

Re: Expiring a page on Apache/Tomcat

Posted By:   Jayaprakash_A  
Posted On:   Friday, October 19, 2001 10:28 PM

Which version of Tomcat are you using. I think Tomcat 3.2.1 and some of the later versions had this bug.
About | Sitemap | Contact