Try to use a value of the "Referer" header fields in the HTTP request.
----- Original Message -----
From: "Harkishin Nachnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 17, 2000 8:08 AM
Subject: IP address + URL ???
> Actually. , using getRequestURL( ) , I get the URL of the servlet that
> is loaded.
> I want the URL of the actual page which submitted the request to load
> the servlet through the Action parameter.
>
> 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
>
>
> > -----Original Message-----
> > From: zulfi [SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, April 14, 2000 7:38 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: IP address + URL
> >
> > use getRemoteAddr() and getRequestUrl()
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Harkishin Nachnani <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, April 14, 2000 5:04 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
>
>
___________________________________________________________________________
> 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