在resin 3.0.9 及以前版本下,下面几种写法都是可以的,而放到Tomcat 5.0 下则抛出这个异常:
严重: Parse error in application web.XML
Java.lang.IllegalArgumentException: Invalid url-pattern * in filter mapping
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
at org.apache.commons.digester.Digester.endElement(Digester.java:1061)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocu...[ 查看全文 ]