Hello,

Currently I am developing some JSPs and want the pages not to be cached
on IE 5 browser. According to the docs in IE 5, I put these three lines in my JSP
code, but it doesn't work at all. Just wonder who knows what the problem is ?
My java web server is Apache + JRun.

<%
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
response.setHeader("Expires", "-1");
%>

Thanks,
Huan


_______________________________________________________________
http://www.SINA.com - #1 Destination Site for Chinese Worldwide

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to