It works when using servlet 3.0 annotations api... I will write the simplest test case
Sent from my iPad On 05.12.2011, at 20:49, "Mark Thomas" <ma...@apache.org> wrote: > On 05/12/2011 14:45, Hodchenkov, Paul wrote: >> Hi all, >> I am trying to configure dispatcher forward rule for filter in tomcat 7.0.22 >> <filter-mapping> >> <filter-name>UrlRewriteFilter</filter-name> >> <url-pattern>/*</url-pattern> >> <dispatcher>REQUEST</dispatcher> >> <dispatcher>FORWARD</dispatcher> >> </filter-mapping> > > That looks right at first glance. > >> However, tomcat ignores dispatcher definition and does not fill dispatchers >> in org.apache.catalina.deploy.FilterMap (used debug) , so it always returns >> REQUEST in getDispatcherMapping. > > Hmm. Odd. This is tested by the TCK that every Tomcat release must pass > so I don't think there is a bug - or if there is it is an odd edge case. > > I'd suggest that the way forward is to write the simplest possible test > case (1 * JSP + 1 * Servlet + web.xml should be plenty) that > demonstrates this issue. If you still see the issue with that test case, > it will probably be time to open a bug. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org