Related questions
Getting IP address of client
I am developing a web application using JSP, Servlets (Container: Glassfish) in which I need to get clients IP Address.
I am getting the clients IP address, because I want to give access to some pages (like Customer maintenance forms) …
Java: Convert a String (representing an IP) to InetAddress
Possible Duplicate:
Is there an easy way to convert String to Inetaddress in Java?
I'm trying to convert a string(representing an IP address, e.g. 10.0.2.50) into an InetAddress obj.
According to the API it is possible to create an …