tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Avila <rdeav...@gmail.com>
Subject set header in all responses
Date Wed, 27 Apr 2005 16:12:51 GMT
Hi all!

Is possible to put this headers in all responses generated by Tomcat?

response.setHeader("Pragma","no-cache"); response.setHeader
("Cache-Control","no-history");
response.setDateHeader("Expires",-1); 

Thanks the attetion.
 
-- 
Rodrigo de Avila
rdeavila@gmail.com

http://www.avila.eti.br

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message