tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <>
Subject Re: Change response header
Date Wed, 25 Apr 2007 18:50:03 GMT
And your tomcat version?  In 5.5+ you should be able to set the server 
attribute of your connector.  See the docs on the tomcat website for 
further details.


Dummy wrote:

>When I make a request to my local server, I always receive a response header like this:
>HTTP/1.1 200 
>Server: Apache-Coyote/1.1
>Content-Type: anything I Want
>Content-Language: anything I Want
>Content-Length: anything I Want
>Date: Wed, 25 Apr 2007 18:07:18 GMT
>Connection: close
>I can change the info in almost attributes by set the response in servlet but not with
Server attribute. Althought I can make another Server attribute, but that time there will
be 2 Server attributes in the response header. How can I change the info in Server attribute
from Apache-Coyote/1.1 to MyServer for example( config somewhere or code something in my servlet)?
Thanks for any responding.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message