RE: adding HTTP headers for all responses in web application

2004-10-22 Thread Phillip Qin
If your pattern is /*.jsp, then your filter applies to all jsps. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 1:19 AM To: Tomcat Users List Subject: RE: adding HTTP headers for all responses in web application question: will the filter applied

Re: adding HTTP headers for all responses in web application

2004-10-22 Thread Tim Funk
Actually the pattern is *.jsp - not /*.jsp -Tim Phillip Qin wrote: If your pattern is /*.jsp, then your filter applies to all jsps. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 1:19 AM To: Tomcat Users List Subject: RE: adding HTTP headers for all

RE: adding HTTP headers for all responses in web application

2004-10-22 Thread Phillip Qin
To: Tomcat Users List Subject: Re: adding HTTP headers for all responses in web application Actually the pattern is *.jsp - not /*.jsp -Tim Phillip Qin wrote: If your pattern is /*.jsp, then your filter applies to all jsps. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent

RE: adding HTTP headers for all responses in web application

2004-10-22 Thread Shapira, Yoav
-Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 11:18 AM To: 'Tomcat Users List' Subject: RE: adding HTTP headers for all responses in web application Why this url-pattern is always un-nature? I always have difficulties reading filter section in servlet

Re: adding HTTP headers for all responses in web application

2004-10-22 Thread Tim Funk
release of servlet, i.e. servlet xp? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 10:32 AM To: Tomcat Users List Subject: Re: adding HTTP headers for all responses in web application Actually the pattern is *.jsp - not /*.jsp -Tim Phillip Qin wrote

RE: adding HTTP headers for all responses in web application

2004-10-21 Thread Shapira, Yoav
Message- From: Steven J.Owens [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 10:10 PM To: Tomcat Users List Subject: Re: adding HTTP headers for all responses in web application On Wed, Oct 20, 2004 at 11:07:58AM -0400, Ben Souther wrote: Search the archives, I believe Tim Funk

RE: adding HTTP headers for all responses in web application

2004-10-21 Thread Mark
:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 10:10 PM To: Tomcat Users List Subject: Re: adding HTTP headers for all responses in web application On Wed, Oct 20, 2004 at 11:07:58AM -0400, Ben Souther wrote: Search the archives, I believe Tim Funk has actually written and published

adding HTTP headers for all responses in web application

2004-10-20 Thread Mark
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

RE: adding HTTP headers for all responses in web application

2004-10-20 Thread Phillip Qin
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

RE: adding HTTP headers for all responses in web application

2004-10-20 Thread Mark
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

RE: adding HTTP headers for all responses in web application

2004-10-20 Thread Phillip Qin
] 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

RE: adding HTTP headers for all responses in web application

2004-10-20 Thread Ben Souther
? -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

Re: adding HTTP headers for all responses in web application

2004-10-20 Thread Steven J. Owens
On Wed, Oct 20, 2004 at 11:07:58AM -0400, Ben Souther wrote: Search the archives, I believe Tim Funk has actually written and published one Not sure though. It's pretty straight-forward. This is the first filter I ever coded, it was a snap. I make no guarantees that the particular