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

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Nov 8 01:39:18 EST 2012


    [ https://issues.jboss.org/browse/AS7-5554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732613#comment-12732613 ] 

Brian Leathem commented on AS7-5554:
------------------------------------

It is worth noting that this same spec violation was observed and resolved in Glassfish.
http://java.net/jira/browse/GLASSFISH-8535
                
> 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
>              Labels: spec_violation
>
> 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