Clean up warnings related to forthcoming removals in Tomcat 9

This commit is contained in:
Sam Brannen
2016-09-17 16:10:45 +02:00
parent 8f62b63663
commit b521aa879f
2 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ public class TomcatHttpServer extends HttpServerSupport implements HttpServer, I
File base = new File(System.getProperty("java.io.tmpdir"));
Context rootContext = tomcatServer.addContext("", base.getAbsolutePath());
Tomcat.addServlet(rootContext, "httpHandlerServlet", servlet);
rootContext.addServletMapping("/", "httpHandlerServlet");
rootContext.addServletMappingDecoded("/", "httpHandlerServlet");
}