You can call the request.getRemoteHost() function which returns you the
string equivalent of the Client IP address.
Ashwani
> ----------
> From:         Simon Jakesch
> Reply To:     Simon Jakesch
> Sent:         Thursday, February 17, 2000 11:42 AM
> To:   [EMAIL PROTECTED]
> Subject:      ip address
>
> hi,
>
> i wondered if there is a way to get the ip address of a remote sending an
> request to the jsp? shouldn't be a big deal? just need a quick tip no
> examples
> or something....
>
> thanks guys,
> bye,
> simon
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>
>
>
Visit http://www.niit.com for eCommerce Solutions.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to