Quantcast
Channel: S. Nageswara Rao, Corporate Trainer – Way2Java
Viewing all articles
Browse latest Browse all 505

request.getRemoteAddr() Method Example in Servlets

$
0
0

This method is defined in ServletRequest interface from javax.servlet package inherited by HttpServletRequest. With this method, the servlet programmer can know the IP address of the client from which the request came. Let us see what Java API says about this method. String getRemoteAddr(): Returns the Internet Protocol (IP) address of the client or last […]

The post request.getRemoteAddr() Method Example in Servlets appeared first on Java Tutorials, tips, forums, faq.


Viewing all articles
Browse latest Browse all 505

Trending Articles