tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor Schneider" <rc4...@googlemail.com>
Subject Re: How to configure cache-control in Tomcat
Date Thu, 24 May 2007 20:26:03 GMT
you can't controle the headers in tomcat (and this is where you
specify things as cache-control in http-protocol).

either your web-app has to modify the http-response-header, our you
can write a filter. a filter is specified by the
servlet-specification, thus tomcat supports ist.

more info on filters:

http://java.sun.com/products/servlet/Filters.html

cheers

gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message