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 <[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>;
 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 [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Id: "Tomcat Developers List" <tomcat-dev.jakarta.apache.org>
Reply-To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
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: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [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