- Do you run behind a connector or stand alone ? - Have you tried to see if the headers are even sent ? Just telnet to your http port and requst the page manually. GET /<url> HTTP/1.0<cr><cr>
<cr>=enter - Do you set the header as early as possible ? Tomcat 3.* might have a different buffer behaviour than 4.0 so that the response has already been sent to the client. > -----Urspr�ngliche Nachricht----- > Von: Max Z. [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 18. Juli 2002 16:40 > An: [EMAIL PROTECTED] > Betreff: Caching problems > > > I have both tomcat 3 and tomcat 4 installed. I have an > application running > with a few jsp files. I am trying to make sure the browser > does not cache the pages. So I use the following code: > > response.setHeader("Cache-Control","no-cache"); > response.setHeader("Pragma","no-cache"); > response.setDateHeader("Expires",-1); > > When I run this under tomcat 3, these lines have no effect > and pages are cached in the browser. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
