public class JspConfig extends Object
Constructor and Description |
---|
JspConfig(javax.servlet.ServletContext ctxt,
Options options) |
Modifier and Type | Method and Description |
---|---|
JspProperty |
findJspProperty(String uri)
Find a property that best matches the supplied resource.
|
boolean |
isJspPage(String uri)
To find out if an uri matches an url pattern in jsp config.
|
static void |
makeJspPropertyGroups(Vector jspProperties,
Vector urlPatterns,
String isXml,
String elIgnored,
String scriptingInvalid,
String trimSpaces,
String poundAllowed,
String pageEncoding,
Vector includePrelude,
Vector includeCoda)
Creates a JspPropertyGroup for each url pattern in the given
urlPatterns , and adds it to the given
jspProperties . |
public JspConfig(javax.servlet.ServletContext ctxt, Options options) throws JasperException
JasperException
public static void makeJspPropertyGroups(Vector jspProperties, Vector urlPatterns, String isXml, String elIgnored, String scriptingInvalid, String trimSpaces, String poundAllowed, String pageEncoding, Vector includePrelude, Vector includeCoda)
urlPatterns
, and adds it to the given
jspProperties
.
This simplifies the matching logic.
public JspProperty findJspProperty(String uri) throws JasperException
uri
- the resource supplied.JasperException
public boolean isJspPage(String uri) throws JasperException
JasperException
Copyright © 2006–2018 TinyGroup. All rights reserved.