Filters in JerseyTest 2.x

Viewed 3635

I'm writing a test using JerseyTest v2.5 and the Grizzly container. My Resource depends on a filter that's defined in my web.xml, so the test is failing.

Is there a way to configure a servlet filter when using JerseyTest?

Even better, is there a way to use my web.xml to configure the servlet container?

3 Answers
Related