I'm sure this is simple, I just can't figure out how to do it. I want to change the name (type) of the server that gets returned in the HTTP response header. Currently it is returning Apache-Coyote XX, but I'd rather it return something more meaningful for me. How do I do this?

I grepped through the Tomcat source code, and found that it calls

response.addHeader("Server", "Apache- Coyote");

I tried adding my own similar header, but that didn't work. I guess Tomcat gets to it last and probably wins because of that. I couldn't see any other way of overcoming this. Anyone have any ideas?? Maybe there's some configuration option, or preferably some programmatic way to do this.

Sander Smith



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to