I'm trying to add a filter mapping with the URL-Pattern

<url-pattern>/*.css</url-pattern>

and tomcat (7.0.63) is throwing an error on the deployment descriptor:

java.lang.IllegalArgumentException: Invalid <url-pattern /*.css in filter mapping. at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java: 3136)

from looking at StandardContext.validateURLPattern(), it appears that "*." is invalid.

Can someone direct me to a a BNF definition of what's an acceptable url-pattern in the specification, or some portion of the servlet spec that explains the implementation of StandardContext.validateURLPattern()?

--
George Sexton
*MH Software, Inc.*
Voice: 303 438 9585
http://www.mhsoftware.com

Reply via email to