You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Douglas, Rory" <Ro...@na.sunchem.com> on 2002/05/07 15:08:26 UTC
RE: servlet works good the first time, but not the second time.??
!!!??
you could also try setting the HTTP Expires header to something definitely
in the past, like 1/1/1980
something like response.setHeader("Expires","1/1/1980");
-----Original Message-----
From: staginfo-ar@cristal-union.fr [mailto:staginfo-ar@cristal-union.fr]
Sent: Tuesday, May 07, 2002 8:13 AM
To: tomcat-user@jakarta.apache.org
Subject: servlet works good the first time, but not the second
time.??!!!??
Hi,
Tomcat runs good when I launch a servlet for the first time. But when I
launch this servlet for the second time, Tomcat print the result of the
first ( in fact Tomcat runs the prior result page saved in IE).
Thanks
Jc
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
RE: servlet works good the first time, but not the second time.??!!!??
Posted by "Sexton, George" <gs...@mhsoftware.com>.
Try something like:
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
-----Original Message-----
From: staginfo-ar@cristal-union.fr [mailto:staginfo-ar@cristal-union.fr]
Sent: Tuesday, May 07, 2002 8:13 AM
To: tomcat-user@jakarta.apache.org
Subject: servlet works good the first time, but not the second
time.??!!!??
Hi,
Tomcat runs good when I launch a servlet for the first time. But when I
launch this servlet for the second time, Tomcat print the result of the
first ( in fact Tomcat runs the prior result page saved in IE).
Thanks
Jc
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>