"ltcmelo" wrote :     <filter-mapping>
  |             <filter-name>InitializationFilter</filter-name>
  |             <url-pattern>/*&&[^/login.jsp]</url-pattern>
  |     </filter-mapping>   
  | ...
  | What am i doing wrong???

I don't think the servlet spec supports regexes.  It just supports the "*.jsp" and 
"/foo/*" style patterns.  Note that some servlet engines (e.g. Resin) do support more 
than the spec says, but Tomcat seems to stick to the spec.

What I did once was write a filter that takes an init-param with a regex that I check 
myself (in my filter), and then apply it to /foo/*, etc.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845971#3845971

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845971


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to