I have a
servlet named "main", it processes most requests, except for any static resources i have in the app.
There's a filter in front of it that I use for urlrewriting.
The question is, why is
tomcat's default 404 being served at all, even though my custom 404 appears to work usually.
I've noticed it only happens when there is a static directory entry, but the file asset doesn't exist.
summary:
/dirdoesnexist = custom 404 (good)
/staticdirexists/fileexists = 200 (good)
/staticdirexists/filedoesnexist = tomcat 404 (bad)
thanks in advance for any help.