Here's the scenario: I am getting input data from the user and have
determined that the user has made an error. I want to redisplay the last
page so they can fix the errors.

----- Original Message -----
From: "QM" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 6:50 PM
Subject: Re: 'referer' header contains Servlet path, not referrer


> 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?
>
> -QM
>
> --
>
> software  -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to