<BUG>protected ServletContextHandler addResourceHandler(String contextPath, File resourceBase) {</BUG><CONTEXT>String listing = resource.getListHTML(request.getRequestURI(), request.getPathInfo() != null && request.getPathInfo().lastIndexOf("/") > 0);response.setContentType("text/html; charset=UTF-8");response.getWriter().println(listing);}}<extra_id_0>ServletContextHandler context = new ServletContextHandler();ResourceHandler staticResource = new ResourceHandler2();staticResource.setDirectoriesListed(true);</CONTEXT>
protected ServletContextHandler addResourceHandler(String contextPath, Path resourceBase) {