2014-11-24 23:05 GMT+03:00 zack6849 <z...@zack6849.com>: > Hello, i've found some strange issue with the url mapping with tomcat, i've > tested this on tomcat8 and TomEE, it seems easily reproducable. > > I have a Filter listening to requests matching "/uploads/*" (all files > inside of my uploads directory" > > On TomEE, this filter is fired for requests just as one would expect, > however on tomcat8, it does *not* > > Example: > > /uploads/test.jpg as a file request, the filter fires on TomEE, but not > tomcat, same code, only difference being the servlet mapping. > > Does anyone know what could be causing this? > > Relevant code attached below > > > |@WebFilter(urlPatterns = "/uploads/*")|| > ||public class StatisticsFilter implements Filter {||
1. What is in your web.xml? 2. Exact versions of Tomcat, Java = ? (Are annotations processed? It is configurable in web.xml.) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org