Are you linking to the page or typing it in.  There is no referer if you
type it in;

I use:  request.getHeader(referer)   (Note that referer is all lowercase)
and get the referer fine in tomcat 3.2.1

Good luck,
Craig

-----Original Message-----
From: Dan Eppinghoff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 5:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem with getHeader("Referer")


I've tried it with IE 5.5, Netscape 4.7, and Netscape 6.  All 3 give the
same
result (null).
Any other ideas?  Is there any kind of config option in tomcat that would
effect
this?

Dan


Kief Morris wrote:

> Dan Eppinghoff typed the following on 11:02 PM 1/17/2001 -0500
> >Hello all,
> >   I have a problem getting the "Referer" header from the request object
in
> >a JSP.  The
> >only value I get for it is null.  I printed a list of the available
headers
> >(via
> >getHeaderNames()) and this is the list I got:
> >User-Agent
> >Cookie
> >Accept
> >Host
> >Accept-Encoding
> >Accept-Language
> >Connection
> >
> >Does anyone have an idea why I can't get "Referer"?
>
> Which browser? Some versions of IE (5?) don't set the referer.
>
> Kief
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to