Hi,

Use HttpServletRequest.getHeader("referer");

This is with Tomcat 3.1 and ServletExec 3.0 (both implement
the Servlet 2.2 spec).

Cheers,

--Amos Shapira
WebCollage

> -----Original Message-----
> From: Jianyi Liang [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 24, 2000 5:13 PM
> To: [EMAIL PROTECTED]
> Subject: http_referrer
>
>
> hi This may be a very silly question.
>
> How can I get the Http_referrer (as a string) from the HttpRequest
> Object? (I don't mean the RequestURL.)
>
> Thanks in advance!
>
> ______________________________________________________________
> __________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.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