Gentlemen,

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:

getRemoteHost: 127.0.0.1
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: 
http://old.nabble.com/getServerName-returns-%27localhost%27-tp27767838p27767838.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to