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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the JSP property configuration values for a JSP page or group of pages.static classRepresents a JSP property group with a path, extension, and associated JSP property. -
Constructor Summary
ConstructorsConstructorDescriptionJspConfig(ServletContext ctxt) Creates a new JspConfig instance for the given servlet context. -
Method Summary
Modifier and TypeMethodDescriptionfindJspProperty(String uri) Find a property that best matches the supplied resource.booleanTo find out if a uri matches a url pattern in jsp config.
-
Constructor Details
-
JspConfig
Creates a new JspConfig instance for the given servlet context.- Parameters:
ctxt- the servlet context
-
-
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.
-
isJspPage
To find out if a uri matches a url pattern in jsp config. If so, then the uri is a JSP page. This is used primarily for jspc.- Parameters:
uri- The path to check- Returns:
trueif the path denotes a JSP page
-