A filter is an ideal solution for this... It has the benefit of being app-specific, so should you ever want to host another app in the same TC instance that doesn't require those headers, they won't be set automatically (i.e., at the server-level).

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

Rodrigo Avila wrote:
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.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to