tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Why does Tomcat not set HTTP_Referer?
Date Mon, 02 Dec 2002 13:47:07 GMT
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: []
>Sent: Tuesday, November 05, 2002 10:14 PM
>Subject: Why does Tomcat not set HTTP_Referer?
>I'm trying to setup some links that jump to another site. That other
>checks the header for the HTTP_Referer environment variable. When I
>from my servlet in Tomcat to this other site this variable is empty.
>does Tomcat not set this variable? Am I just doing something wrong?
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message