Try the following code:
  httpservletresponse.setHeader("Expires","0");
  httpservletresponse.setHeader("Cache-Control", "no-cache");
  httpservletresponse.setHeader("Cache-Control", "no-store");
  httpservletresponse.setHeader("Pragma", "no-cache");
It's working fine for me.
IE5, NN4.7 on Win 98, Tomcat
Regards,
Manish
----- Original Message -----
Sent: Tuesday, March 13, 2001 9:43 PM
Subject: Cache problem with IE

Hi,

with the code below I can get netscape not to cache a jsp page but it
does not work with Internet-Explorer.
Does anybody know why?


response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");\



Zsolt

--
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

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

Reply via email to