Try     request.getRemoteAddr();  it is a method of class Servlet.

-----Original Message-----
From: Harkishin Nachnani <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, April 14, 2000 10:20 AM
Subject: IP address + URL


>Hi everybody
>1) How do I get the IP address of the client machine using either JAVA
>Servlet or JAVA SCRIPT ????
>2) How do I get the URL of the client ????
>
>Thanks in advance
>
>Harkishin Nachnani,
>MicroAutomation, Inc., 5160 Parkstone Drive, #140, Chantilly, VA 20151
>Tel: (703) 378-7000 x609 Fax: (703) 378-4321
>Web: www.microaut.com
>
>___________________________________________________________________________
>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

___________________________________________________________________________
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

Reply via email to