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

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Fri Sep 14 04:15:33 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remy Maucherat resolved AS7-5554.
---------------------------------

    Resolution: Done


Extension mapping for welcome files will continue to require a static marker file. Ples do not reopen the JIRA.
                
> 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