[jbosstools-issues] [JBoss JIRA] (JBIDE-19121) web.xml shows dubious warning on missing welcome file matching Faces mapping

Vlado Pakan (JIRA) issues at jboss.org
Tue Mar 3 01:34:49 EST 2015


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

Vlado Pakan closed JBIDE-19121.
-------------------------------


Verified with JBDS 8.1.0.Beta1-v20150301-1950-B438

> 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
>
>
> 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