|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jasper.compiler.JspConfig
public class JspConfig
Handles the jsp-config element in WEB_INF/web.xml. This is used for specifying the JSP configuration information on a JSP page
Constructor Summary | |
---|---|
JspConfig(ServletContext ctxt,
Options options)
|
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JspConfig(ServletContext ctxt, Options options)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |