ErrorPageErrorHandler errorHandler = (ErrorPageErrorHandler) this.webAppContext.getErrorHandler();
for (ErrorPageInfo errorPageInfo: webAppInfo.errorPages) {
if (errorPageInfo.exceptionType != null) {
errorHandler.addErrorPage(errorPageInfo.exceptionType, errorPageInfo.location);
} else {
errorHandler.addErrorPage(errorPageInfo.errorCode, errorPageInfo.location);
}
}
if (tagLibMap != null) {
for (Map.Entry<String, String> entry : tagLibMap.entrySet()) {
this.webAppContext.setResourceAlias(entry.getKey(), entry.getValue());