Friday, June 22, 2001 01:52 AM
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)"