glassfish
  1. glassfish
  2. GLASSFISH-19219

@WebServlet values are lost when the servlet is defined in deployment descriptor, under a different name

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b01
    • Fix Version/s: 4.0_b60
    • Component/s: web_container
    • Labels:
      None

      Description

      When the same servlet class is declared in two places under @WebServlet and Deployment descriptor using different servlet name, they should be treated as different servlet. Right now, @WebServlet defined values are lost.

        Activity

        Hide
        Shing Wai Chan added a comment -

        Sending src/main/java/org/glassfish/web/deployment/annotation/handlers/WebServletHandler.java
        Transmitting file data .
        Committed revision 56712.

        Show
        Shing Wai Chan added a comment - Sending src/main/java/org/glassfish/web/deployment/annotation/handlers/WebServletHandler.java Transmitting file data . Committed revision 56712.

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            djiao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: