[jbosstools-issues] [JBoss JIRA] (JBIDE-19121) web.xml shows dubious warning on missing welcome file matching Faces mapping
Fred Bricon (JIRA)
issues at jboss.org
Thu Jan 29 12:54:49 EST 2015
Fred Bricon created JBIDE-19121:
-----------------------------------
Summary: web.xml shows dubious warning on missing welcome file matching Faces mapping
Key: JBIDE-19121
URL: https://issues.jboss.org/browse/JBIDE-19121
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsf
Affects Versions: 4.2.2.Final
Reporter: Fred Bricon
Given a web project containing index.xhtml at the root of the web folder, an web.xml file containing
{noformat}
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>{noformat}
and
{noformat}
<welcome-file-list>
<welcome-file>faces/index.xhtml</welcome-file>
</welcome-file-list>{noformat}
shows an unexpected warning on <welcome-file>:
{quote}file name references to "faces/index.xhtml" that does not exist in web content{quote}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list