tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DirectXtras <postmas...@directxtras.com>
Subject Autoreply: DO NOT REPLY [Bug 28323] New: - HttpServletRequest.getPathInfo() returns null in context of a Filter class
Date Sat, 10 Apr 2004 03:02:58 GMT
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
---------------------------------------------------------------------
DirectXtras - Xtra Power for Director and Authorware -
              http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
---------------------------------------------------------------------


Your message reads:

Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with SMTP id <B0312692523@mail2.intermedia.net> for <postmaster@directxtras.com>;
 Fri, 9 Apr 2004 20:02:58 -0700
Received: (qmail 95620 invoked by uid 500); 10 Apr 2004 03:02:42 -0000
Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
List-Subscribe: <mailto:tomcat-dev-subscribe@jakarta.apache.org>
List-Help: <mailto:tomcat-dev-help@jakarta.apache.org>
List-Post: <mailto:tomcat-dev@jakarta.apache.org>
List-Id: "Tomcat Developers List" <tomcat-dev.jakarta.apache.org>
Reply-To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Delivered-To: mailing list tomcat-dev@jakarta.apache.org
Received: (qmail 95603 invoked from network); 10 Apr 2004 03:02:42 -0000
Received: from unknown (HELO exchange.sun.com) (192.18.33.10)
  by daedalus.apache.org with SMTP; 10 Apr 2004 03:02:42 -0000
Received: (qmail 19501 invoked by uid 50); 10 Apr 2004 03:03:35 -0000
Date: 10 Apr 2004 03:03:35 -0000
Message-ID: <20040410030335.19500.qmail@nagoya.betaversion.org>
From: bugzilla@apache.org
To: tomcat-dev@jakarta.apache.org
Cc:
Subject: DO NOT REPLY [Bug 28323] New:  - 
    HttpServletRequest.getPathInfo() returns null in context of a Filter class
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28323>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28323

HttpServletRequest.getPathInfo() returns null in context of a Filter class

           Summary: HttpServletRequest.getPathInfo() returns null in context
                    of a Filter class
           Product: Tomcat 4
           Version: 4.1.27
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: raz@chewies.net


In the first lines of code in doFilter in my filter class, I have the following:

if (request instanceof HttpServletRequest)
{
  log("The URI is: " + ((HttpServletRequest)request).getRequestURI());
  log("The PathInfo is: " + ((HttpServletRequest)request).getPathInfo());
....

This filter is mapped to /*, when hit with a request to /path1/path2/file.ext
comes in, the following output is produced:

2004-04-09 21:57:23 The URI is: /path1/path2/file.ext
2004-04-09 21:57:23 The PathInfo is: null

I couldn't find anything that would lead me to belive that this is expected. 
Oracle's website has examples where getPathInfo is used in filter classes so I
would think I am not alone.  I realize this version of tomcat is a few rev's old
-- I checked the bug database before submitting and found nothing.  I am
guessing that the path info stuff is filled in after the filter chain is done.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message