Hi,
Look at the methods of HttpServletRequest.
I am not sure, but request.getRequestURI() might helpYou.
Best wishes,
Andras.
p.s. Reply if You managed to do something.
----- Original Message -----
From: SUH <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 08, 1999 3:27 PM
Subject: ??gettng forwarded URL: urgent!!!
> Hi, all;
>
> When users enter a URL,e.g. http://excel.am.com/~username, Netscape
Server
> forwards the URL(or request) to http://www.am.net/servlet/redirect, which
is
> a servlet.
> And the servlet will redirect users to somewhere else.
> I configured the Netscape Server so that whenever the Server sees
> "~"(tilde),
> the server will forward the request to the servlet.
>
> In short, users enter URL ----> Netscape Server forward it to
> servlet -----> the servlet will
> redirect it to somewhere else.
>
> Question??????:
> I need to know the URL( or whole string of URL) requested(entered) by
> users,
> and do some LDAP programming in the servlet..
>
> How do I get the original URL entered by users ???
> Please help me out. Dead line is coming.
> Thanks in advance !
>
>
> ---------------------------------------------------------------------
> Home, Sweet Home.
> Lee & Suh
___________________________________________________________________________
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