When parsing a web.xml containing a servlet that is based on a jsp-file rather than a servlet-class, both httpunit-1.7 and head from svn (as of today) throws a sax exception. I would like it to parse and correctly match such servlets. This functionality is implemented in the attached patch.
This is the first time i look at the httpunit source code, so be warned that the patch migth be ugly or possibly even break something.
Example of a traditionally supported servlet mapping:
Example of a mapping supported with the attached patch:
Log in to post a comment.