Which url-patterns are supported in web.xml ?

Solution Unverified - Updated -

Issue

  • Web.xml is not able to resolve following url-pattern for the servlet :
    <servlet>
      <servlet-name>Example</servlet-name>
      <servlet-class>aaa.bbb.ccc</servlet-class>
      </servlet>
      <servlet-mapping>
            <servlet-name>Example</servlet-name>
            <url-pattern>/abc*</url-pattern>
      </servlet-mapping>

Server.log shows following INFO message during startup :

17:33:36,496 INFO  [org.apache.catalina.core] (ServerService Thread Pool -- 250) JBWEB001107: Suspicious url pattern:  in context /abc* - see section SRV.11.2 of the Servlet specification

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In