ctx.addChild(wrapper);
ctx.addServletMapping(pattern, wrapper.getName());
// Must be added to the main mapper as no dynamic servlets usually
Mapper mapper = webServer.getService().getMapper();
mapper.addWrapper(virtualHost.getName(), ctx.getPath(), pattern, wrapper, false);
if (httpContext != null && actx == null) {
// We have a new shared context, save it for later use
// The shared Servlet Context is put on a weak has map, which means that