Cant remember where i read this but it works for me
Apparently IE5 has a bit of a browser caching bug.
If I have the following meta tag at the very bottom of my html it fixes my caching
problems. In the document I read it said that if the meta tag isnt at the very bottom
of the page then it doesnt work. After fooling around I tend to agree.
<meta http-equiv="Expires" content="0" url="a description here">
</html>
Also - the tag wont work if you include the other caching tags in your HTML.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of He Huan
Sent: Friday, 14 April 2000 8:00
To: [EMAIL PROTECTED]
Subject: Re: JSP no-cache problem on IE 5
Hi, Scott,
Thanks for your reply, but I had ever tried the <meta> tag before,
it doesn't work either. Based on the docs for IE 5, this tag is ignored
over IE 4 & 5 without https connection.
Thanks,
Huan
On Thu, 13 April 2000, Scott Smith wrote:
>
> you might try putting this in the <head> </head> area of your page:
>
> <meta http-equiv="Pragma" content="no-cache">
>
> hth,
> scott
>
> At 11:21 AM 4/13/00 -0700, you wrote:
> >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
> >
_______________________________________________________________
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
===========================================================================
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