Package org.apache.jasper.compiler
Class JspConfig
java.lang.Object
org.apache.jasper.compiler.JspConfig
Handles the jsp-config element in WEB_INF/web.xml. This is used
for specifying the JSP configuration information on a JSP page
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindJspProperty
(String uri) Find a property that best matches the supplied resource.private void
init()
boolean
To find out if an uri matches an url pattern in jsp config.private void
processWebDotXml
(javax.servlet.ServletContext ctxt) private JspPropertyGroup
selectProperty
(JspPropertyGroup prev, JspPropertyGroup curr) Select the property group that has more restrictive url-pattern.
-
Field Details
-
WEB_XML
- See Also:
-
log
-
jspProperties
-
ctxt
private javax.servlet.ServletContext ctxt -
initialized
private boolean initialized -
defaultIsXml
-
defaultIsELIgnored
-
defaultIsScriptingInvalid
-
defaultTrimSpaces
-
defaultPoundAllowed
-
defaultErrorOnUndeclaredNamespace
-
defaultJspProperty
-
-
Constructor Details
-
JspConfig
public JspConfig(javax.servlet.ServletContext ctxt)
-
-
Method Details
-
processWebDotXml
- Throws:
JasperException
-
init
- Throws:
JasperException
-
selectProperty
Select the property group that has more restrictive url-pattern. In case of tie, select the first. -
findJspProperty
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
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
-