https://issues.apache.org/bugzilla/show_bug.cgi?id=54277
Bug ID: 54277 Summary: FilterRegistration wrong order Product: Tomcat 7 Version: 7.0.33 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API Assignee: dev@tomcat.apache.org Reporter: psf...@clustertech.com Classification: Unclassified When 2 filters are registered through Servlet 3.0 API, servletContext.addFilter("A", filterA) .addMappingForUrlPatterns(null, false, "*.jsp"); servletContext.addFilter("B", filterB) .addMappingForUrlPatterns(null, false, "*.jsp"); Filter B should come before A in the chain, according to the API spec of 2nd bool param isMatchAfter. In Tomcat 7.0.33, the actual order is reversed. I've also tested in Jetty 8.1.8, the order is consistent with the spec. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org