diff --git a/1.sources/MyHealth/docroot/WEB-INF/web.xml b/1.sources/MyHealth/docroot/WEB-INF/web.xml index 5b5b57c..a11b61e 100644 --- a/1.sources/MyHealth/docroot/WEB-INF/web.xml +++ b/1.sources/MyHealth/docroot/WEB-INF/web.xml @@ -30,8 +30,6 @@ primefaces.FONT_AWESOME true - - primefaces.THEME #{sessionPreferences.currentTheme} @@ -45,35 +43,42 @@ - - Faces Servlet - /faces/* - - - Faces Servlet - *.jsf - - - Faces Servlet - *.faces - Faces Servlet *.xhtml + + + facesExceptionFilter + org.omnifaces.filter.FacesExceptionFilter + + + + + facesExceptionFilter + /* + + + javax.faces.application.ViewExpiredException /error.xhtml?type=expired java.sql.SQLException + org.hibernate.exception.GenericJDBCException + java.net.ConnectException /error.xhtml?type=sql java.lang.RuntimeException /error.xhtml?type=runtime + + java.net.ConnectException + /error.xhtml?type=sql + 500 /error.xhtml @@ -84,12 +89,12 @@ - 1 + 30 - home.xhtml + /home.xhtml