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

Cannot map Servlet to "/" via ServletContext API (vs web.xml)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.2.0.GA
    • Web (JBoss Web)
    • None
    • Workaround Exists
    • Hide

      Use web.xml

      Show
      Use web.xml

      A Servlet cannot be mapped to "/" when using a ServletContainerInitializer and the ServletContext.

      The mapping works when using web.xml.

      I can also confirm that mapping to "/" works with WildFly 8 using either Java or web.xml.

              rmaucher Remy Maucherat
              px9de Rossen Stoyanchev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: