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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content