You don�t have to read the archives to get this.
Try req.getRemoteAddr().
Elber
> "Jonathan Silvergran, SM3OJR" wrote:
> >
> > Is it possible to somehow extract the IP number of
the
> > accessing browser's computer from a servlet?
> >
>
> Short answer: No. (Well, sometimes, but not generally)
>
> Long answer: This is a frequently asked question,
> please check the archives. Try search terms like "ip
> address client".
>
> It's always polite to check the archives first, before
> you post your question to the list, since there's a
> good chance your question has been asked before.
>
> If the answers in the archive are incomplete or
> confusing, then you'd be doing everyone a favor
> by reposting with details of what you found unclear,
> since that helps improve the archive for the next
> person who asks the question...
>
>
> -cks
>
>
_________________________________________________________
__________________
> To unsubscribe, send email to [EMAIL PROTECTED]
and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
http://archives.java.sun.com/archives/servlet-
interest.html
> Resources:
http://java.sun.com/products/servlet/external-
resources.html
> LISTSERV Help:
http://www.lsoft.com/manuals/user/user.html
>
__________________________________________________________________________
Compras com facilidade e seguran�a?
ShoppingBOL
http://shopping.bol.com.br
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html