Hi My server Ip address is say 188.8.131.525 I have a name for this server say "xxxx" if I use request.getServerName() I get the IPAddress I want the server name not the IPAddress. Can some one help me with a method name that returns the name of the server
I appreciate your help Thanks in advance
posted 10 years ago
Hello, There are many ways to do it . You can use JMX for the same but the below approach is much more simpler.