Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Christopher Schultz
Geir, > If this does not produce desired outcome I would look into Jon Wingfield's > suggestion of > -writing your own connector (which will specifically write its own response) > -using mod_headers to modify the outgoing headers.. I think that option #2 makes the most sense, as this was origin

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Martin Gainty
a Filter or a Valve ? Geir :-) -Original Message- From: Geir Øvsttun (AS/ETO) [mailto:[EMAIL PROTECTED] Sent: 21. juli 2006 08:41 To: Martin Gainty; users@tomcat.apache.org Subject: RE: Removal of headers in HttpServletResponse object Hi Martin, Thanks for the feedback but I am afra

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Jon Wingfield
ng the response to the client. For this to work must the reset() method be called from a Filter or a Valve ? Geir :-) -Original Message- From: Geir Øvsttun (AS/ETO) [mailto:[EMAIL PROTECTED] Sent: 21. juli 2006 08:41 To: Martin Gainty; users@tomcat.apache.org Subject: RE: Remova

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Markus Schönhaber
Geir Øvsttun wrote: > I am still struggling with the removal of header problem. > > I found that the ServletResponse has a reset() method which should delete > all headers. I thought maybe I could use this and then reconstruct the > response object with only the headers I want. I tried to do call t

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Jon Wingfield
ude a removeHeader method. Geir :-) -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 20. juli 2006 19:25 To: Geir Øvsttun (AS/ETO) Subject: Re: Removal of headers in HttpServletResponse object Geir- I found a complete Tomcat Valve example here at http://www.explain-i

RE: Removal of headers in HttpServletResponse object

2006-07-21 Thread AS/ETO
:[EMAIL PROTECTED] Sent: 21. juli 2006 08:41 To: Martin Gainty; users@tomcat.apache.org Subject: RE: Removal of headers in HttpServletResponse object Hi Martin, Thanks for the feedback but I am afraid that the example did not really solve my problem. As far as I can understand your example only

RE: Removal of headers in HttpServletResponse object

2006-07-20 Thread AS/ETO
. Geir :-) -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 20. juli 2006 19:25 To: Geir Øvsttun (AS/ETO) Subject: Re: Removal of headers in HttpServletResponse object Geir- I found a complete Tomcat Valve example here at http://www.explain-it.org/mediawiki/index.php

Re: Removal of headers in HttpServletResponse object

2006-07-20 Thread Darryl Miles
Geir Øvsttun (AS/ETO) wrote: Server: Apache-Coyote/1.1 Content-Type: text/html;charset=ISO-8859-1 Content-Length: 82 Date: Thu, 20 Jul 2006 09:53:33 GMT These headers are not included by the various embedded devices I am trying to simulate. As the HttpServletResponse class does not have a remo