Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9398

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 3.3.0.M2
    • 3.3.0.M5
    • jsf
    • None

    Description

      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>

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            juergen.zimmermann Juergen Zimmermann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: