Class WebXmlParser

java.lang.Object
org.apache.myfaces.util.WebXmlParser

public class WebXmlParser extends Object
  • Method Details

    • getErrorPages

      public static Map<String,String> getErrorPages(ExternalContext context)
      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