Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3923

MyFaces uses Servlet 3.0 only method cookie.setHttpOnly(true)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      Java 1.6, WebLogic 10.3.0.0, Servlet 2.5

      Issue Links

        Activity

        Hide
        mkienenb Mike Kienenberger added a comment -

        Servlet 3.0 is one of the dependencies of JSF 2.2 as it depends on J2EE 6.

        We use Servlet 3.0 in the file upload API as well.

        Show
        mkienenb Mike Kienenberger added a comment - Servlet 3.0 is one of the dependencies of JSF 2.2 as it depends on J2EE 6. We use Servlet 3.0 in the file upload API as well.
        Hide
        osmanizbat Osman İZBAT added a comment -

        Hi Mike.
        My code was working with myfaces 2.2.3.
        Due to compatible versions uncertainity I thought jsf 2.2. should be backward compatible with Servlet 2.5.
        Also Servlet 2.5 requirement specified at MyFaces-core-2.2 page http://myfaces.apache.org/core22/index.html

        Thans.

        Show
        osmanizbat Osman İZBAT added a comment - Hi Mike. My code was working with myfaces 2.2.3. Due to compatible versions uncertainity I thought jsf 2.2. should be backward compatible with Servlet 2.5. Also Servlet 2.5 requirement specified at MyFaces-core-2.2 page http://myfaces.apache.org/core22/index.html Thans.
        Hide
        lu4242 Leonardo Uribe added a comment -

        I agree with the position that JSF 2.2 depends on servlet 3.0, but given some additional evidence, I suggest reopen this issue, since there is proof that a simple fix could make it work. Even if it is not perfect (h:inputFile will never work), there are some situations when you really want it (see MYFACES-3927). MyFaces 2.2 will never officially support servlet 2.5, but at least with the fix, it will not get in the way.

        The justification is there are some nice features in 2.2 like resource library contracts, HTML5 friendly markup, Faces Flows and others that people just want to work with, and the fix will make it possible for those guys that are stuck in servlet 2.5.

        Show
        lu4242 Leonardo Uribe added a comment - I agree with the position that JSF 2.2 depends on servlet 3.0, but given some additional evidence, I suggest reopen this issue, since there is proof that a simple fix could make it work. Even if it is not perfect (h:inputFile will never work), there are some situations when you really want it (see MYFACES-3927 ). MyFaces 2.2 will never officially support servlet 2.5, but at least with the fix, it will not get in the way. The justification is there are some nice features in 2.2 like resource library contracts, HTML5 friendly markup, Faces Flows and others that people just want to work with, and the fix will make it possible for those guys that are stuck in servlet 2.5.

          People

          • Assignee:
            lu4242 Leonardo Uribe
            Reporter:
            osmanizbat Osman İZBAT
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development