tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Curwen" <g_dev...@globallyboundless.com>
Subject RE: Virtual Hosts and useCanonical
Date Thu, 28 Oct 2004 14:29:26 GMT
Thanks Bill.  

I suppose I must have been dreaming about getServerName working. Our current
production box is TC4.1.30, and for our next version of the app, I wanted to
target TC5.0.29. Looks like it is a "must have".  Yoav will be happy. ;)



> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Bill Barker
> Sent: Thursday, October 28, 2004 12:21 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Virtual Hosts and useCanonical
> 
> 
> request.getServerName() is the value of the Host header.  You want 
> request.getLocalName().
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message