[
https://issues.jboss.org/browse/AS7-5554?page=com.atlassian.jira.plugin.s...
]
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-w...
--
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