You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Graham Leggett <mi...@sharp.fm> on 2003/01/06 12:10:02 UTC

Setting cache headers on tomcat served files - How?

Hi all,

I have a web application running within tomcat which serves both JSP 
files and static GIF files. I need to set the cache-control headers on 
the GIF files to specify "Cache-Control: no-cache". This is easy to do 
for the JSP files, but I can find no reference on how to do it for 
static files in web.xml.

Is this possible?

I do not want to serve the static files via a different server (eg 
Apache or an Apache/Tomcat hybrid).

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>