codahale/dropwizard — pull request #236 by primozs (2012-12-13 12:30:28+00:00)
Title: Possibility to add WebAppContext handlers to Environment

Possibility to add WebAppContext to default Server

Example in service run method:

WebAppContext context = new WebAppContext();
context.setDescriptor("web/WEB-INF/web.xml");
context.setResourceBase("web");
context.setContextPath("/");
context.setParentLoaderPriority(true);

// new environment addWebApp method
environment.addWebApp(context);

I need this feature, i hope you find it useful...
Cheers
Primoz