tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pernica, Jan" <pern...@dcb.cz>
Subject How to get server URL?
Date Tue, 05 Jun 2001 05:57:21 GMT
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.




Mime
View raw message