It seems that not all servlet containers trigger filters when recieving a request to a path which is not mapped to any servlet.