> From: Rodrigo Avila [mailto:[EMAIL PROTECTED] 
> 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); 

Yes.  At worst, you could write a Valve that set those fields before
invoking the next valve in the chain, and put it into your server.xml.
There may well be more elegant solutions.

                - Peter

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

Reply via email to