You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Pernica, Jan" <pe...@dcb.cz> on 2001/06/05 07:57:21 UTC

How to get server URL?

Hi 

How can I get the server name?
I do not like HttpServlet.getServerName() because if I access it from local
network the name differs from the name when
accessing it from internet.

Any suggestions?

Regards

Jan

> Mgr. Jan Pernica, MSc.
> Project Manager
> DCB Actuaries and Consultants
> Tel: +420 5 4221 7390-5
> Mobile: +420 602 52 42 51
> Fax:+420 5 4221 7399
> http://www.dcb.cz
> mailto:pernica@dcb.cz
> 
> 
> 
__________________________________________________________________
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.