|
@@ -530,9 +530,6 @@ public final class HttpServer2 implements FilterContainer {
|
|
|
staticContext.setResourceBase(appDir + "/static");
|
|
|
staticContext.addServlet(DefaultServlet.class, "/*");
|
|
|
staticContext.setDisplayName("static");
|
|
|
- @SuppressWarnings("unchecked")
|
|
|
- Map<String, String> params = staticContext.getInitParams();
|
|
|
- params.put("org.mortbay.jetty.servlet.Default.dirAllowed", "false");
|
|
|
setContextAttributes(staticContext, conf);
|
|
|
defaultContexts.put(staticContext, true);
|
|
|
}
|