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

Details

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

      Use web.xml

      Show
      Use web.xml

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: