How to get client ip in a Java Servlet

req.getRemoteAddr();
req.getRemoteHost();

No hay comentarios: