Howdy,
Please refer to RFC 2616, section 14.36, for an explanation of the
referrer (misspelled) header.  It is not set by the server, e.g. tomcat
in your case.  It is set by the client, probably a browser in your case
(but could be a cell phone, mock objects, whatever).

There are known bugs in all major browsers (although I'm not sure about
very recent versions, I haven't checked for a while) with regards to
setting of http referrer.  For example, IE 5.x doesn't set referrers
from popup windows.  

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, November 05, 2002 10:14 PM
>To: [EMAIL PROTECTED]
>Subject: Why does Tomcat not set HTTP_Referer?
>
>I'm trying to setup some links that jump to another site. That other
site
>checks the header for the HTTP_Referer environment variable. When I
jump
>from my servlet in Tomcat to this other site this variable is empty.
Why
>does Tomcat not set this variable? Am I just doing something wrong?
Help.
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user-
>[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to