getRemoteHost() Method Example

This method is defined in ServletRequest interface from javax.servlet package inherited by HttpServletRequest. With this method, the servlet programmer can know the name of the client from which the request came. Let us see what Java API says about this method. java.lang.String getRemoteHost(): Returns the fully qualified name of the client or the last proxy …

getRemoteHost() Method Example Read More »