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,


all of a sudden the server throws a 404 error for each page I try to reach...

Anybody got an idea whats wrong?