[WLS 10.3.3]Servlet Filters Not Invoked with <FolderName> * in the url-pattern (Doc ID 1272838.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

When you try to deploy a webapp with url-pattern like "/foo/chi* on WLS 10.3.3, Servlet filter does not get applied i.e. The filter associated with this url-pattern does not get invoked.

i.e.: Lets assume you have a jsp page (index.jsp) within folder foo\chi\index.jsp
MyFilter does not get invoked when you access the index.jsp using below url
http://localhost:7001/sample/foo/chi/index.jsp

Sample snippet from web.xml
<filter-mapping>
<filter-name>MyFilter</filter-name>
<url-pattern>/foo/chi*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>

However such url-pattern works fine with OC4J Container and the filter is invoked.

Changes

Users migrating from OC4J Container to Weblogic Server may encounter this issue.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms