dcsimg
Getting ServerURL
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alexander_F
Posted On:   Friday, June 22, 2001 01:52 AM

Hi!

I have a problem to retreive the server URL.(Let's say my server URL is www.myserver.com and localhostanme is server)

Useing INetAddress class i can retreive just hostname:


String domain = InetAddress.getLocalHost().toString();

The output is "server"

The question is :"How can I retreive server URL(that is www.myserver.com)"

thanks

About | Sitemap | Contact