servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-28

@WebServlet annotation does not support the 'enabled' attribute specified by the Servlet 3.0 specification

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      See http://java.net/jira/browse/GLASSFISH-17721

      "The Servlet 3.0 specification in section 8.2.3 sub part 3 describes "If a servlet is disabled using the enabled element introduced in the web.xml then the servlet will not be available at the url-pattern specified for the servlet".

      The WebServletHandler.java deployment annotation handler does not support then enabled element and it should since it is part of the web.xml specification for the <servlet> element."

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Shing Wai Chan
              Reporter:
              Amy Roh
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: