Menu

#17 actionServlet <servlet-class> parameter ignored

open
nobody
None
5
2004-04-28
2004-04-28
No

It'd be nice if the web.xml servlet-class parameter was
supported for actionServlet, or at least documented as
not being supported.

It took me several hours today before I finally figured
out why my application was crashing on a
NullPointerException (turns out the ActionServlet class it
expected to find was never created!)

For those who care, my temporary workaround was to
manually recreate the ActionServlet in the setup call.

This obviously adds a lot of overhead as my
ActionServlet has to be recreated every single test.

If I can figure out how to use Digester, I will try to
eventually post a patch.

-Mike

Discussion


Log in to post a comment.