638639640641642643644645646647648
throw new IllegalArgumentException("Invalid name " + name); } initParameters.put("name", name); Servlet resourceServlet = new ResourceServlet(); try { registerServlet( name, alias, resourceServlet, initParameters, httpContext);