Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 13184 invoked from network); 9 Nov 2005 12:00:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Nov 2005 12:00:02 -0000 Received: (qmail 55809 invoked by uid 500); 9 Nov 2005 11:59:54 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 55742 invoked by uid 500); 9 Nov 2005 11:59:53 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 55731 invoked by uid 500); 9 Nov 2005 11:59:53 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 55728 invoked by uid 99); 9 Nov 2005 11:59:53 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 03:59:53 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id 2D554235; Wed, 9 Nov 2005 12:59:31 +0100 (CET) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 37424] New: - welcome-file list not working with extensions X-Bugzilla-Reason: AssignedTo Message-Id: <20051109115931.2D554235@ajax.apache.org> Date: Wed, 9 Nov 2005 12:59:31 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.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 . 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=37424 Summary: welcome-file list not working with extensions Product: Tomcat 5 Version: Unknown Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: petermenzel@gmx.de When a client requests a partial uri in a webapp with no matching static resource or servlet/jsp in the DD, Tomcat should process the in the DD and append each entry to the partial request. After appending Tomcat should look for a matching static resource or servlet. [1] Problem as follows: When using a foo.bar and having a servlet matching the pattern *.bar, this servlet is not invoked. Using a normal path extension in the welcome file works. working: BarServlet /home home not working: BarServlet *.bar foo.bar I know that the deafult servlet maps to / so that it will be invoked before any extension matching servlet, when accessing http://example.com/mywebapp/ , but when going deeper in the directory structure the BarServlet should be invoked when accessing e.g. http://example.com/mywebapp/buzz/ . The partial request "/buzz/" should be extended by "foo.bar" becoming "/buzz/foo.bar" and a match with *.bar should invoke BarServlet. I used Tomcat 5.5.12. Regards, Peter Menzel [1] The Servlet spec 2.4 (SRV 9.10) states: "The web server must append each welcome file in the order specified in the DD to the partial request and check whether a static resource or servlet in the WAR is mapped to that request URI." -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org