tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgud <>
Subject getServerName returns 'localhost'
Date Wed, 03 Mar 2010 12:55:46 GMT


I have the application which could be accessed from different domain
addresses and I need to know from what domain request was sent. I try to get
following from request:

getServerName: localhost

I use tomcat 5.5 and I suppose i should configure something to get correct
domain name. Can anyone help me?? Any help will be apreciated.

Best regards
View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message