ContextHandler handler = contexts.addContext(contextRoot, "");
handler.setAliases(true);
handler.setHandler(this.createResourceHandler(true, context.getDirectory().getCanonicalPath(), null));
}
ContextHandler rootContextHandler = contexts.addContext("/", "");
rootContextHandler.setHandler(this.createResourceHandler(false, this.configuration.getBasedir().getCanonicalPath(), new String[]{this.getWelcomeFilePath()}));
rootContextHandler.setAliases(true);
ContextHandler classPathContextHandler = contexts.addContext("/classpath", "");
classPathContextHandler.setHandler(new ClassPathResourceHandler(configuration.getProjectClassLoader()));