Have you thought of filter? -----Original Message----- From: Mark [mailto:[EMAIL PROTECTED] Sent: October 20, 2004 10:40 AM To: [EMAIL PROTECTED] Subject: adding HTTP headers for all responses in web application
Hi, It there any easy way to add few HTTP headers to ALL responses within one web application? What I'm looking is to prevent caching of error pages. I thought it will be greate to add those header: CacheControl = "no-cache" Pragma", "no-cache" Expires = -1 to all my servlet/JSP responces. But I'd rather do it in one place and not go through all serlvets/JSPs in .war file. Thanks, Mark _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:4176790a113211502619581!