So in both the cases I need to configure *.do in my web.xml.So where I need to set something so that in every case both the filters can work.
You can solve this in two ways:
1) If you have a <servlet> with a <servlet-mapping> in your web.xml with a *.do in the <url-pattern> you can attach the two filters to a <servlet-name> in the <filter-mapping> element
2) You can attach the two filters to a <url-pattern> (*.do) in the <filter-mapping> element
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads