[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9398) Wizard "Add JSF capabilities..." not conform with JSF 2

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Sat Jul 23 07:50:23 EDT 2011


Wizard "Add JSF capabilities..." not conform with JSF 2
-------------------------------------------------------

                 Key: JBIDE-9398
                 URL: https://issues.jboss.org/browse/JBIDE-9398
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JSF
    Affects Versions: 3.3.0.M2
            Reporter: Juergen Zimmermann
            Assignee: Alexey Kazakov


When the wizard for "Add JSF capabilities..." is invoked and the Servlet version "3.0" is selected, then the wizard adds to web.xml the following lines:
 <servlet>
  <servlet-name>Faces Config</servlet-name>
  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
 </servlet>
 <servlet-mapping>
  <servlet-name>Faces Config</servlet-name>
  <url-pattern>*.jsf</url-pattern>
 </servlet-mapping>

However, according to the JSF 2.0 spec two additional mappings are also defined:
 <servlet-mapping>
  <servlet-name>Faces Config</servlet-name>
  <url-pattern>/faces/*</url-pattern>
 </servlet-mapping>
 <servlet-mapping>
  <servlet-name>Faces Config</servlet-name>
  <url-pattern>*.faces</url-pattern>
 </servlet-mapping>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list