Filter is blocking acces to servlet
Hi all,
I am using a filter where all request go through for keeping statisticks about how many request euch page has got.
Now I got the following problem:
When I use an annotation @Webfilter("*.htm"), everything works fine and the web-app is keeping track of all request as it should do.
But when I try it without the annotation, and just declare my filter in web.xml,
<filter>
<filter-name>ServletFilter</filter-name>
<filter-class>be.hf.filters.ServletFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>ServletFilter</filter-name>
<url-pattern>*.htm</url-pattern>
</filter-mapping>
all of a sudden the server throws a 404 error for each page I try to reach...
Anybody got an idea whats wrong?