String webAppResources = classLoader.getResource("webapp").toExternalForm();
context.setContextPath("/");
context.setResourceBase(webAppResources);
context.setClassLoader(classLoader);
context.addServlet(new ServletHolder(new DandelionServlet()), DandelionServlet.DANDELION_ASSETS_URL_PATTERN);
context.addFilter(new FilterHolder(new DandelionFilter()), "/*", 0);
ServletHolder jsp = context.addServlet(JspServlet.class, "*.jsp");
jsp.setInitParameter("classpath", context.getClassPath());