Package org.apache.myfaces.util
Class WebXmlParser
java.lang.Object
org.apache.myfaces.util.WebXmlParser
-
Method Summary
Modifier and TypeMethodDescriptiongetErrorPages
(ExternalContext context) Parses the web.xml and web-fragements.xml for error pages.
-
Method Details
-
getErrorPages
Parses the web.xml and web-fragements.xml for error pages. "null" as key represents the default error page. Otherwise, the key is the exception class.- Parameters:
context
- the External Context or NULL if checking current classload- Returns:
- a Map of Exception to XHTML pages
-