Uhh, headers don't work that way. You send headers to help the
browser and network know what they are working with. The browser sets the
headers for the new request to help you and the network deal with the
request. One set of headers has no bearing on any others.
Randy
I'm going to the page via a link, not dialing direct. Both methods leave with with
a result of null;
[EMAIL PROTECTED] wrote:
Are you direct dialing the page or are you clicking a link to see it? i.e.
{page1}
... a href="page2.jsp"foo/a ...
{page2}
... % if (request.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
]
cc:(bcc: Bill Fellows/MO/americancentury)
Subject: Re: Problem with getHeader("Referer")
I'm going to the page via a link, not dialing direct. Both methods leave with
with
a result of null;
[EMAIL PROTECTED] wrote:
Are you direct dialing the page or are you clicking a l
]]
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
Are you direct dialing the page or are you clicking a link to see it? i.e.
{page1}
... a href="page2.jsp"foo/a ...
{page2}
... % if (request.getHeader("referer") != null)
out.println(request.getHeader("referer"));
else
out.println("Referer == null Dig-it!");
% ...
Going from page1 to
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: