views:

18

answers:

0

How do I get GWT to read web.xml file when doing unit testing. I'm of course using GWTTestCase class and I have to specify any servlets to use in module.gwt.xml file using

<servlet path=.../>.

The actual requirement is to load other servlets that initialize resources (using GenericServlet.init() method) in order to make the tests run. web.xml is the obvious choice as this works in normal application setup. How to get it working when running tests?

Oh and I'm using GWT 2.0.4.