// Create the webapp
HttpContext context = new HttpContext();
context.setContextPath("/");
context.setResourceBase("./dummy/");
context.addHandler(new HTTPRedirectHandler());
insecureServer.addContext(context);
// Configure the server
insecureServer.setRequestsPerGC(2000);