}
HttpServer ws = new HttpServer();
ws.getHttpHandler().setAllowEncodedSlash(true);
ws.addListener(new NetworkListener("web",listenInterface,port));
DovetaildbServlet ddbServlet = new DovetaildbServlet();
WebappContext webappContext = new WebappContext("webapp", "/");
ServletRegistration reg = webappContext.addServlet("dovetaildb", ddbServlet);
reg.setInitParameter("headerFile", headerFile.getAbsolutePath());
reg.setInitParameter("logLevel", logLevel.getName());