I don't know is this still relevant:

http://www.htmlgoodies.com/beyond/reference/article.php/3472881

"The Pragma statement up above sometimes fails in IE because of the
way IE caches files. There is a 64K buffer that must be filled before
a page is cached in IE. The problem is that the vast majority of the
pages using the Pragma statement put it between the HEAD tags."

On 2/16/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Question: is the URL you are requesting the result of a GET, and never
> changing?  If so, IE will return a cached result every time after the
> first GET because it is somewhat over-aggressive in its caching scheme.
> All the headers in the world tend to not help either.
>
> On Thu, February 16, 2006 12:47 pm, zahid mohammed said:
> >  Hello All,
> > I have asked this question before in several forums but could'nt get the
> > solution for it.
> > We have a struts application and the server is Tomcat 5.5. I display an
> > Arraylist (set in request) on the first page using Logic:Iterate tag. If
> > the
> > user clicks next, another set is selected and the arraylist is set in the
> > request. In Mozilla Firefox, I am able to view the new set of elements,
> > but
> > in IE6 ServicePack2, it shows me the old set of elements even after
> > clicking
> > next. Its not working even after clearing the cache.
> >  I have placed <%
> > response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
> > response.setHeader("Pragma","no-cache"); //HTTP 1.0
> > response.setDateHeader("Expires",-1); //prevents caching
> > response.addHeader("Cache-Control","no-store"); //HTTP 1.1
> > %> on the top of the jsp and also
> > <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires"
> > CONTENT="-1"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> in the
> > head.
> > I have also placed <controller nocache="true"></controller> in the
> > struts-config.xml........Even after doing all these its not working in IE
> > 6.0. But everything is fine in Firefox.
> >
> > One thing to note is when I used "System.out.println" in a scriptlet in
> > jsp,
> > it shows me the right set of elements in the console when next is clicked.
> > But when I used "out.println" its showing the old set of elements in the
> > jsp.
> > Please HELP!!!
> > Thanx,
> > Struts Programmer.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to