Can I get the IP address and Computer Name through Servlets (Prortocal Manager) ??
Joined: Apr 17, 2001
Hi there, Can I get the IP address and the Computer Name using servlets. For eg. I am Sitting on the server and the requests come from a client(Using Servlets) can I get the computer name & IP address of a client who is sending me the request . If yes Plz. reply me. Thankz.
Joined: Nov 06, 2000
You can use the methods getRequestURI and get to return the part the URL after the host and port. I am not a sure if there is a method to get the computer name. Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley