They are different things. The remote user only appears if the user did
enter his user id and password. The IP address you want is the remote
host, so you would use
request.getRemoteHost();

Un saludo,

Alex.

Jack Li wrote:
> 
> Hello,
> 
> I need to know who visits my web page. In jsp, I got "null" when I used
> "request.getRemoteUser()". Then any other mehods can obtain user's name or
> IP address?
> 
> Thanks
> Jack Li

Reply via email to