[
https://issues.jboss.org/browse/JBIDE-19121?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich edited comment on JBIDE-19121 at 1/29/15 3:36 PM:
------------------------------------------------------------------------
Validation is correct if path starts with '/':
{code}
<welcome-file>/faces/index.xhtml</welcome-file>
{code}
Servlet mapping declares prefix /faces/*. [~fbricon], is it ok to refer to resources with
'faces/*' without leading '/'?
was (Author: scabanovich):
Validation is correct if path starts with '/':
{code}
<welcome-file>/faces/index.xhtml</welcome-file>
{code}
Servlet mapping declares prefix /faces/*. [~fbricon] is it ok to refer to resources with
'faces/*' without leading '/'?
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}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)