path = String.format("/%s", UriComponent.decodePath(u.getPath(), true).get(1).toString());
WebappContext context = new WebappContext("GrizzlyContext", path);
ServletRegistration registration = context.addServlet(c.getName(), c);
registration.addMapping("");
if (initParams == null) {
// registration.setInitParameter(ClassPathResourceConfig.PROPERTY_CLASSPATH,
// System.getProperty("java.class.path").replace(File.pathSeparatorChar, ';'));
} else {
registration.setInitParameters(initParams);