tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis Callo <francisca...@yahoo.com>
Subject Re: How to obtain user's IP address
Date Thu, 03 May 2001 16:31:01 GMT
Hi Jack,

     Try get request.getRemoteAddr(). Good Luck ;)

Francis


--- Jack Li <jli@murraysdiscount.com> 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
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Mime
View raw message