]
Alexey Kazakov reassigned JBIDE-19121:
--------------------------------------
Assignee: Viacheslav Kabanovich
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
Assignee: Viacheslav Kabanovich
Fix For: 4.2.3.Beta1, 4.3.0.Alpha1
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}