Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12646

web.xml servlet-name validation is not case-sensitive

    XMLWordPrintable

Details

    Description

      [Using the HTML5 sample project generated from Central]

      I'm adding a servlet declaration in the web.xml file but the web.xml editor does not report a warning when the servlet name case is wrong:

       <servlet-mapping>
         <servlet-name>org.jboss.tools.example.html5.rest.JaxrsActivator</servlet-name>
         <url-pattern>/hello/*</url-pattern>
      </servlet-mapping>
      

      In the example above, the class name should be JaxRsActivator, not JaxrsActivator.

      On the other hand, it properly reports a warning when a letter is missing in the classname.

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: