|
Java™ by example!
|
|
|
How do I get the IP address of the client connecting to my Servlet?
Call the method getRemoteAddr on the HttpServletRequest instance. MainServlet.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|