Hi,

You may check the header referer
like this:
 String referer=request.getHeader("referer");

but i'm not sure that it will work in Netscape and IE too.

Best wishes,
            Andras.




----- Original Message -----
From: Roland Sprengseis <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 05, 2000 10:50 AM
Subject: How to find out URL from which Servlet was called


> Hi!
>
> Does anybody know, how I can find out from which page a
> person activated a link to call a certain servlet?
> (Meaning: how do I find out the page's name, which was
> shown before my servlet was activated?)
>
> need quick answers ;)
>
> thx in advance,
> Roland
>
> ====================================
> Dipl. Ing. (FH) Roland Sprengseis
> Software Competence Center Hagenberg
> Hauptstr. 99
> A-4232 Hagenberg
> Tel.: +43-7236-3343-839
> Fax.: +43-7236-3343-888
> GSM.: +43-676-5667155
> SMS.: [EMAIL PROTECTED]
> Mail: [EMAIL PROTECTED]
>
>
___________________________________________________________________________
> 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