[jbosstools-issues] [JBoss JIRA] (JBIDE-13247) Inadequate content of web.xml in new created CDI project

Alexey Kazakov (JIRA) issues at jboss.org
Mon Dec 12 16:48:24 EST 2016


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

Alexey Kazakov reassigned JBIDE-13247:
--------------------------------------

    Assignee: Jeff MAURY  (was: Alexey Kazakov)


> Inadequate content of web.xml in new created CDI project
> --------------------------------------------------------
>
>                 Key: JBIDE-13247
>                 URL: https://issues.jboss.org/browse/JBIDE-13247
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi, seam2
>    Affects Versions: 4.0.0.CR1
>         Environment: JBDS 6.0.0.CR1c
>            Reporter: Tomas Remes
>            Assignee: Jeff MAURY
>            Priority: Minor
>             Fix For: LATER
>
>
> Create new CDI Web project in JBDS 6.0.0.CR1c and you'll get following web.xml:
> {noformat}
>   <welcome-file-list>
>     <welcome-file>index.html</welcome-file>
>     <welcome-file>index.htm</welcome-file>
>     <welcome-file>index.jsp</welcome-file>
>     <welcome-file>default.html</welcome-file>
>     <welcome-file>default.htm</welcome-file>
>     <welcome-file>default.jsp</welcome-file>
>   </welcome-file-list>
>   <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>*.seam</url-pattern>
>   </servlet-mapping>
> {noformat}
> IMHO there should be no ".seam" url pattern since that has nothing to do with Seam. Probably jsf would be better. Second thing is that there are no files like those specified in welcome list section. So it generates unnecessary warnings and would be better to remove it or generate these files along with project generation. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list