This is the answer...
    String ref = req.getHeader("referer");
regards.Alex Semenov.






---"AKS: Boban Acimovic" <[EMAIL PROTECTED]> wrote:
>
> Is there any way to check from what URL is servlet
called?
> Something like document.referrer in JavaScript.
>
> I checked SnoopServlet and all getRemote...
methods, but it seems nothing is there.
> I didn't check JSDK 2.1 yet.

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.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

Reply via email to