org.apache.jasper.compiler

Class JspConfig


public class JspConfig
extends java.lang.Object

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

Nested Class Summary

static class
JspConfig.JspProperty

Constructor Summary

JspConfig(ServletContext ctxt)

Method Summary

JspConfig.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.

Constructor Details

JspConfig

public JspConfig(ServletContext ctxt)

Method Details

findJspProperty

public JspConfig.JspProperty findJspProperty(String uri)
            throws JasperException
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

public boolean isJspPage(String uri)
            throws JasperException
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.


Copyright B) 2000 Apache Software Foundation. All Rights Reserved.