Class JspConfig
java.lang.Object
org.apache.sling.scripting.jsp.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
- Author:
- Kin-man Chung, Remy Maucherat
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindJspProperty
(String uri) Find a property that best matches the supplied resource.boolean
To find out if an uri matches an url pattern in jsp config.
-
Constructor Details
-
JspConfig
public JspConfig(javax.servlet.ServletContext ctxt)
-
-
Method Details
-
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
-