Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 97768 invoked from network); 9 Sep 2004 13:22:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Sep 2004 13:22:19 -0000 Received: (qmail 63790 invoked by uid 500); 9 Sep 2004 13:20:38 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 63646 invoked by uid 500); 9 Sep 2004 13:20:37 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 63593 invoked by uid 99); 9 Sep 2004 13:20:36 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [66.33.216.24] (HELO smarty.dreamhost.com) (66.33.216.24) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Sep 2004 06:20:34 -0700 Received: from strange.dreamhost.com (strange.dreamhost.com [66.33.193.57]) by smarty.dreamhost.com (Postfix) with ESMTP id E5E3B13F73C for ; Thu, 9 Sep 2004 06:20:30 -0700 (PDT) Received: by strange.dreamhost.com (Postfix, from userid 7734) id D596B6AA14; Thu, 9 Sep 2004 06:20:31 -0700 (PDT) Date: Thu, 9 Sep 2004 08:20:31 -0500 From: QM To: Tomcat Users List Subject: Re: 'referer' header contains Servlet path, not referrer Message-ID: <20040909132031.GA14328@strange.dreamhost.com> References: <00e801c49651$ddd61a10$b500a8c0@blraddrcom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00e801c49651$ddd61a10$b500a8c0@blraddrcom> User-Agent: Mutt/1.3.28i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org