tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <>
Subject Re: 'referer' header contains Servlet path, not referrer
Date Thu, 09 Sep 2004 13:20:31 GMT
On Thu, Sep 09, 2004 at 03:16:19PM +0530, Keith Hankin wrote:
: I am trying to determine what JSP page sent me to my Servlet, so I use request.getHeader("referer").
Unfortunately, the String returned is the Servlet itself and not the actual referer. This
seems like a bug to me. Is there some way to get the actual referer?

The "referer" header isn't reliable.  Browsers may refuse to send it,
for privacy reasons.

What's your high-level goal?



software  --
tech news --

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

View raw message