Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-82

WebServlet.loadOnStartup=0 doesn't startup the servlet

XMLWordPrintable

    • Workaround Exists
    • Hide

      use any value >= 1

      Show
      use any value >= 1
    • Hide

      Create a servlet with the following annotation:
      @WebServlet(name="...", loadOnStartup=0, urlPatterns="/...")

      Show
      Create a servlet with the following annotation: @WebServlet(name="...", loadOnStartup=0, urlPatterns="/...")

      According to the spec, any value >= 0 should result in the servlet being loaded on startup.

      • 0 doesn't work
      • 1 works

              rmaucher Remy Maucherat
              heinz.huber Heinz Huber (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: