tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Taylor <mtay...@emeraldcave.net>
Subject Can't get Referrer in HttpRequest in Tomcat?
Date Thu, 27 Jul 2000 06:34:42 GMT
I tried the following code in Tomcat in an extension tag that I'm writing.

((HttpServletRequest)pageContext.getRequest()).getHeader("Referrer")

The result is always null.  The log files for Apache show that the Referrer is
coming in just fine to Apache.  

Why can't I get this information in Tomcat requests?

What am I doing wrong?  Is Tomcat only HTTP1.0 and Referrer is part of 1.1 or
something?   This would be a pretty sad thing, because Referrer is a very
useful feature.

Thanks,

- Mike

Mime
View raw message