Sorry if this is too obvious, but is the request the result of a normal
browser following a link embedded in a web page to get to your
servlet/jsp?
If you type the URL in the browser location bar, or use a custom client
that doesn't set the header, it won't be there.
Jim
--- Beth Kelly <[EMAIL PROTECTED]> wrote:
> Good points. I printed out all of the headers fields, and values.
> The
> header does not contain a Referrer, Referer, referer, or referrer
> field.
>
>
> Kyle Wayne Kelly
> (504)391-3985
> http://www.cs.uno.edu/~kkelly
> ----- Original Message -----
> From: "Dan Garcia" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 02, 2001 3:20 PM
> Subject: Re: Is there a way to get the Referrer information from a
> request?
>
>
> > On Thu, 2 Aug 2001, Beth Kelly wrote:
> > > I have read that a million times, but that field is not in the
> header
> > > either.
> >
> > I notice you keep writing it as referrer in your emails, however
> the
> proper
> > spelling fr the -header- is referer - one r :)
> >
> > Note: that sometimes there won't be a referer...
> >
> > --Dg
> >
> > > Kyle Wayne Kelly
> > > (504)391-3985
> > > http://www.cs.uno.edu/~kkelly
> > > ----- Original Message -----
> > > From: "Corey A. Johnson" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, August 02, 2001 3:05 PM
> > > Subject: Re: Is there a way to get the Referrer information from
> a
> request?
> > >
> > >
> > > > this will do it:
> > > >
> > > > request.getHeader("referer");
> > > >
> > > > purposely misspell referrer.
> > > >
> > > > Kyle Wayne Kelly wrote:
> > > >
> > > > > I printed out the html header, and it did not include the
> referrer
> > > field.
> > > > > Is there another way to get the referrer field?
> > > > >
> > > > > Kyle Wayne Kelly
> > > > > (504)391-3985
> > > > > http://www.cs.uno.edu/~kkelly
> > > >
> > > > --
> > > > corey a. johnson <><> cni <><> 1.321.259.1984 <><>
> 1.800.264.5547
> > > >
> > > >
> > >
> > >
> >
>
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/