Yes, you bypass the rest of the filter chain, but your forward() will make you enter this filter again and again, if web.xml still has a /* url-pattern. Your server will probably shutdown.
Am I right or any further explanation? Thanks.
Posted by Donovan at January 7, 2005 02:03 PMIn Resin you can use a regular expression in the filter mapping and thus exclude a particular URL from entering the filter chain.
http://www.caucho.com/resin-3.0/config/webapp.xtp#filter-mapping
Posted by Anoop at July 21, 2005 05:53 PMYeah. I know that - in many ways, Resin is better than Tomcat. And besides, I like the name :)
Posted by Alphageek at September 13, 2005 10:19 PMHi Friend,
I am using url- pattern *.do but it is not even bypassing filter class.
Please explain me why is it so?
Posted by Dharmesh at October 10, 2005 10:53 PMI had the same idea when I came across the same limitation. However I didt not realize that the resource URI was relative to the context root. This works great with JBoss404+Tomcat5.5.x :)
Thanks !
Posted by Pål Kristiansen at July 21, 2006 02:16 AM