[jboss-jira] [JBoss JIRA] (AS7-5554) Welcome-file ignores servlet mapping

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Sep 13 18:30:33 EDT 2012


Brian Leathem created AS7-5554:
----------------------------------

             Summary: Welcome-file ignores servlet mapping
                 Key: AS7-5554
                 URL: https://issues.jboss.org/browse/AS7-5554
             Project: Application Server 7
          Issue Type: Bug
          Components: Web
    Affects Versions: 7.1.1.Final
            Reporter: Brian Leathem
            Assignee: Remy Maucherat


Welcome files that correspond to a servlet-mapping are ignored.  As an example, add a welcome file "index.jsf" and map "*.jsf" to the faces servlet.  The welcome file will not be served when navigating to the folder.  

This is not in accordance with the Servlet 3.0 specification (Section 10.10):

{quote}
... the Web server MUST again append each welcome file in the order specified in the deployment descriptor to the partial request and check if a servlet is mapped to that request URI.
{quote}

As an example of this in practice, refer to one of the many stackoverflow questions on the subject:
http://stackoverflow.com/questions/4616493/how-to-set-jsf2-welcome-file-with-faces-servlet-mapping/4618142

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list