Re: Explicit header definition

2007-03-19 Thread Gregor Schneider
google is your friend, there are tons of articles on that topic: http://www.google.com/search?q=tomcat+filter+tutorial&btnG=Google-Suche&meta= i.e. http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html cheers greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA52

Re: Explicit header definition

2007-03-18 Thread Peter Kennard
It looks like a Filter receives the same ServletResponse object as what is passed back from the servlet. Are their methods on that that allow you to access the Date: and Server: headers (or the whole big header string)? PK At 16:55 3/18/2007, you wrote: for each servlet / jsp where you want

Re: Explicit header definition

2007-03-18 Thread Peter Kennard
I found this: http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: Explicit header definition

2007-03-18 Thread Peter Kennard
Thanks - is there a good doc around on "howto write a tomcat filter" :) ? It sure would be nice to have default headers defined in web.xml :) PK At 16:55 3/18/2007, you wrote: for each servlet / jsp where you want to change the default headers, write a filter, which changes the headers, include i

Re: Explicit header definition

2007-03-18 Thread Gregor Schneider
mod_headers doesn't worker when connecting to tomcat via ajp13 - apache httpd simply doesn't touch headers coming from tomcat mounted via ajp13, therefore your information is not correct. however, to shorten this thread, this is what we did: - tomcat always delivers default headers, and until no

Re: Explicit header definition

2007-03-18 Thread Rashmi Rubdi
can't provide additional help/details. -Rashmi - Original Message From: Peter Kennard <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Friday, March 16, 2007 3:24:46 PM Subject: Explicit header definition If I want to remove or alter headers that are the "default" fo

Re: Explicit header definition

2007-03-18 Thread Peter Kennard
It might mean don't hi-jack threads. Mark ??? I thought I created a new one for this question. (different Subject:) At 10:57 3/18/2007, you wrote: Peter Kennard wrote: > Does no commnent on this mean: > > "This is not possible"? > or: > "Of course, it is obvious you can, as stated *h

Re: Explicit header definition

2007-03-18 Thread Mark Thomas
Peter Kennard wrote: > Does no commnent on this mean: > > "This is not possible"? > or: > "Of course, it is obvious you can, as stated *here*"? > > PK It might mean don't hi-jack threads. Mark - To start a new topic,

Re: Explicit header definition

2007-03-18 Thread Peter Kennard
Does no commnent on this mean: "This is not possible"? or: "Of course, it is obvious you can, as stated *here*"? PK At 15:24 3/16/2007, you wrote: If I want to remove or alter headers that are the "default" for a specific servlet, webapp or instance of tomcat, how might I? Either pro

Explicit header definition

2007-03-16 Thread Peter Kennard
If I want to remove or alter headers that are the "default" for a specific servlet, webapp or instance of tomcat, how might I? Either programmtically or in a config file. ie: - remove or replace the "Date:" header. - remove or replace the "Server:" header. The reasoning is for servicing