Class JspConfig


  • public class JspConfig
    extends java.lang.Object
    Handles the jsp-config element in WEB_INF/web.xml. This is used for specifying the JSP configuration information on a JSP page
    • Field Detail

      • log

        private static java.util.logging.Logger log
      • ctxt

        private javax.servlet.ServletContext ctxt
      • initialized

        private boolean initialized
      • defaultIsXml

        private java.lang.String defaultIsXml
      • defaultIsELIgnored

        private java.lang.String defaultIsELIgnored
      • defaultIsScriptingInvalid

        private java.lang.String defaultIsScriptingInvalid
      • defaultTrimSpaces

        private java.lang.String defaultTrimSpaces
      • defaultPoundAllowed

        private java.lang.String defaultPoundAllowed
      • defaultErrorOnUndeclaredNamespace

        private java.lang.String defaultErrorOnUndeclaredNamespace
      • defaultJspProperty

        private JspProperty defaultJspProperty
    • Constructor Detail

      • JspConfig

        public JspConfig​(javax.servlet.ServletContext ctxt)
    • Method Detail

      • findJspProperty

        public JspProperty findJspProperty​(java.lang.String uri)
                                    throws JasperException
        Find a property that best matches the supplied resource.
        Parameters:
        uri - the resource supplied.
        Returns:
        a JspProperty indicating the best match, or some default.
        Throws:
        JasperException
      • isJspPage

        public boolean isJspPage​(java.lang.String uri)
                          throws JasperException
        To find out if an uri matches an url pattern in jsp config. If so, then the uri is a JSP page. This is used primarily for jspc.
        Throws:
        JasperException