Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan,

On 6/26/2009 9:21 AM, Christopher Schultz wrote:
Don't use request.getLocalName: use request.getHeader("Server").

Er... that should have been request.getHeader("Host").

.. which should really have been request.getServerName()...
(which is probably doing the same thing under the hood, but then maybe not quite, considering that for HTTP header names, capitalisation doesn't count. Ha.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to