String classname = nameFromUrls(url, servletPath);
final Class<?> clazz = webContext.getClassLoader().loadClass(classname);
final WebServlet annotation = clazz.getAnnotation(WebServlet.class);
if (annotation != null) {
for (String mapping: annotation.urlPatterns()) {
try {
addServletMethod.invoke(null, classname, webContext, mapping);
deployedWebObjects.mappings.add(mapping);
} catch (Exception e) {
LOGGER.warning(e.getMessage(), e);