I don't think this is a struts issue. It's also nothing to do with
Websphere, or any other container for that issue.

There is a known problem with IE and caching, particularly IE5.0. I burnt up
days on this bug a while back, using Weblogic and a different framework -
screens not refreshing on reload, going to a form page and it's  already
populated with the last submit.

The problem was solved by inserting a second <head> with the Pragma stuff in
it after the body in the html, e.g:

<HEAD>
...
        <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
...
</HEAD>

<BODY>
...
</BODY>
<HEAD>
        <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</HEAD>

You might want to read this:

http://www.htmlgoodies.com/beyond/nocache.html

I hope it fixes your problem.

Cheers,

Todd Pierce.
-----Original Message-----
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 April 2002 6:00
To: [EMAIL PROTECTED]
Subject: Caching IE revisited


Hi All,

we are facing serious problems with IE caching. We have tested everything:

1. Initialization params.
<init-param>
    <param-name>nocache</param-name>
    <param-value>true</param-value>
</init-param>

2. Set response headers

    response.setHeader("Cache-Control","no-store, no-cache,
must-revalidate, post-check=0, pre-check=0"); //HTTP 1.1
    response.setHeader("Pragma","no-cache"); //HTTP 1.0
    response.setDateHeader ("Expires", 0); //prevents caching at the proxy
server

and problem seen to stay forever.

However, above all, I think in the past I did have the same problem, and we 
concluded finally that Web server overrides, with its caching configuration,

headers PROPOSED programatically by the developer. So the problem would fix,

not in the JSPs or code for the response but in the web server 
configuration.

We are using Websphere for production environment and WTE for developing 
tests.

Could anyone throw a little light and validate or reject previous assert? I 
guess that we could mistaking where the problem is.

Thanks in advance,

Adolfo.





_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

Reply via email to