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

JSF wizard shows wrong minimal Servlet version 3.0 instead of 2.5 for JSF 2 projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.3.0.M1
    • 3.2.0.CR1
    • jsf
    • Hide

      1. EXEC: Start JBoss Tools New JSF Project Wizard
      2. EXEC: Fill First step like and press "Next"

      3. EXEC: Select Servlet Version as 2.5

      4. ASSERT: There is no warning
      5. EXEC: Select Servlet version 2.4
      6. ASSERT: Warning appears and it says that 2.5 is minimal supported servlet version
      7. EXEC: Select Servlet version 2.3
      8. ASSERT: Warning appears and it says that 2.5 is minimal supported servlet version

      Now it says about Servlet 3.0 as minimal version for JSF 2 projects.

      Show
      1. EXEC: Start JBoss Tools New JSF Project Wizard 2. EXEC: Fill First step like and press "Next" 3. EXEC: Select Servlet Version as 2.5 4. ASSERT: There is no warning 5. EXEC: Select Servlet version 2.4 6. ASSERT: Warning appears and it says that 2.5 is minimal supported servlet version 7. EXEC: Select Servlet version 2.3 8. ASSERT: Warning appears and it says that 2.5 is minimal supported servlet version Now it says about Servlet 3.0 as minimal version for JSF 2 projects.

      Spec says in "Compatibility with and Migration from JavaServer Faces 1.2" section:
      Related Technologies
      Other Java™ Platform Specifications
      JSF is based on the following Java API specifications:
      ■ JavaServer Pages™ Specification, version 2.1 (JSP™) <http://java.sun.com/products/jsp/>
      Java™ Servlet Specification, version 2.5 (Servlet) <http://java.sun.com/products/servlet/>
      ■ Java™2 Platform, Standard Edition, version 5.0 <http://java.sun.com/j2se/>
      ■ Java™2 Platform, Enterprise Edition, version 5.0 <http://java.sun.com/j2ee/>
      ■ JavaBeans™ Specification, version 1.0.1 <http://java.sun.com/products/javabeans/docs/spec.html>
      ■ JavaServer Pages™ Standard Tag Library, version 1.2 (JSTL) <http://java.sun.com/products/jsp/jstl/>
      Therefore, a JSF container must support all of the above specifications. This requirement allows faces applications to be
      portable across a variety of JSF implementations.
      In addition, JSF is designed to work synergistically with other web-related Java APIs, including:
      ■ Portlet Specification, 1.0 JSR-168 <http://www.jcp.org/jsr/detail/168.jsp>
      ■ Portlet Specification, 2.0 JSR-286 <http://www.jcp.org/jsr/detail/286.jsp>
      ■ JSF Portlet Bridge Specification, JSR-301 <http://www.jcp.org/jsr/detail/301.jsp>

        1. screenshot76.png
          41 kB
          Denis Golovin
        2. screenshot77.png
          42 kB
          Denis Golovin

              scabanovich Viacheslav Kabanovich (Inactive)
              nivologd@gmail.com Denis Golovin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: