i have a login page developed in servlets..
i want the IPADDRESS of the user u calls this servlet can it be possible
how can this be done??
Sure ! Here it is:
public java.lang.String getRemoteAddr()
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request. For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR.
a String containing the IP address of the client that sent the request