RE: Removal of headers in HttpServletResponse object

2006-07-21 Thread AS/ETO
http servlet code itself but when the object is returned Tomcat reconstruct the original headers before sending 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

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

Removal of headers in HttpServletResponse object

2006-07-20 Thread AS/ETO
Hi , For fast prototyping and test purposes I am trying to simulate the responses of various devices (web cameras with embedded web servers) by using Tomcat. The problem I have is that Tomcat (5.5.17) seems to add by default the following headers to the HTTP/1.1 200 OK response: Server: Apache-