String errorLocation = getAccessStrategy().getWebPaths(web.getWebResource("error.xhtml")).get(1);
servletConfig.errorPage(404, errorLocation);
servletConfig.errorPage(500, errorLocation);
servlet.saveConfig(servletConfig);
}
protected Node removeConflictingErrorPages(final ServletFacet servlet)
{
Node webXML = XMLParser.parse(servlet.getConfigFile().getResourceInputStream());