org.apache.jasper

Class Constants


public class Constants
extends java.lang.Object

Some constants and other global data that are used by the compiler and the runtime.

Authors:
Anil K. Vijendran
Harish Prabandham
Shawn Bayern
Mark Roth

Field Summary

static String[]
CACHED_DTD_PUBLIC_IDS
List of the Public IDs that we cache, and their associated location.
static String[]
CACHED_DTD_RESOURCE_PATHS
static int
DEFAULT_BUFFER_SIZE
static int
DEFAULT_TAG_BUFFER_SIZE
Default size for the tag buffers.
static char
ESC
A replacement char for "\$".
static String
ESCStr
static String
FORWARD_SEEN
static String
IE_PLUGIN_URL
static String
INC_REQUEST_URI
Servlet context and request attributes that the JSP engine uses.
static String
INC_SERVLET_PATH
static String
JSP_FILE
FIXME Request attribute for <jsp-file> element of a servlet definition.
static String
JSP_PACKAGE_NAME
The default package name for compiled jsp pages.
static String
JSP_SERVLET_BASE
The base class of the generated servlets.
static int
K
Default size of the JSP buffer.
static int
MAX_POOL_SIZE
Default tag handler pool size.
static String
NS_PLUGIN_URL
Default URLs to download the pluging for Netscape and IE.
static String
PRECOMPILE
The query parameter that causes the JSP engine to just pregenerated the servlet but not invoke it.
static String
SERVICE_METHOD_NAME
_jspService is the name of the method that is called by HttpJspBase.service().
static String
SERVLET_CLASSPATH
FIXME ServletContext attribute for classpath.
static String
SERVLET_CLASS_LOADER
FIXME ServletContext attribute for class loader.
static String
SERVLET_CONTENT_TYPE
Default servlet content type.
static String[]
STANDARD_IMPORTS
These classes/packages are automatically imported by the generated code.
static String
TAGLIB_DTD_PUBLIC_ID_11
Public Id and the Resource path (of the cached copy) of the DTDs for tag library descriptors.
static String
TAGLIB_DTD_PUBLIC_ID_12
static String
TAGLIB_DTD_RESOURCE_PATH_11
static String
TAGLIB_DTD_RESOURCE_PATH_12
static String
TAG_FILE_PACKAGE_NAME
The default package name for tag handlers generated from tag files
static String
TEMP_VARIABLE_NAME_PREFIX
Prefix to use for generated temporary variable names
static String
TMP_DIR
static String
WEBAPP_DTD_PUBLIC_ID_22
Public Id and the Resource path (of the cached copy) of the DTDs for web application deployment descriptors
static String
WEBAPP_DTD_PUBLIC_ID_23
static String
WEBAPP_DTD_RESOURCE_PATH_22
static String
WEBAPP_DTD_RESOURCE_PATH_23

Field Details

CACHED_DTD_PUBLIC_IDS

public static final String[] CACHED_DTD_PUBLIC_IDS
List of the Public IDs that we cache, and their associated location. This is used by an EntityResolver to return the location of the cached copy of a DTD.


CACHED_DTD_RESOURCE_PATHS

public static final String[] CACHED_DTD_RESOURCE_PATHS


DEFAULT_BUFFER_SIZE

public static final int DEFAULT_BUFFER_SIZE

Field Value:
8192


DEFAULT_TAG_BUFFER_SIZE

public static final int DEFAULT_TAG_BUFFER_SIZE
Default size for the tag buffers.

Field Value:
512


ESC

public static final char ESC
A replacement char for "\$". XXX This is a hack to avoid changing EL interpreter to recognize "\$"


ESCStr

public static final String ESCStr


FORWARD_SEEN

public static final String FORWARD_SEEN


IE_PLUGIN_URL

public static final String IE_PLUGIN_URL


INC_REQUEST_URI

public static final String INC_REQUEST_URI
Servlet context and request attributes that the JSP engine uses.


INC_SERVLET_PATH

public static final String INC_SERVLET_PATH


JSP_FILE

public static final String JSP_FILE
FIXME Request attribute for <jsp-file> element of a servlet definition. If present on a request, this overrides the value returned by request.getServletPath() to select the JSP page to be executed.


JSP_PACKAGE_NAME

public static final String JSP_PACKAGE_NAME
The default package name for compiled jsp pages.


JSP_SERVLET_BASE

public static final String JSP_SERVLET_BASE
The base class of the generated servlets.


K

public static final int K
Default size of the JSP buffer.

Field Value:
1024


MAX_POOL_SIZE

public static final int MAX_POOL_SIZE
Default tag handler pool size.

Field Value:
5


NS_PLUGIN_URL

public static final String NS_PLUGIN_URL
Default URLs to download the pluging for Netscape and IE.


PRECOMPILE

public static final String PRECOMPILE
The query parameter that causes the JSP engine to just pregenerated the servlet but not invoke it.


SERVICE_METHOD_NAME

public static final String SERVICE_METHOD_NAME
_jspService is the name of the method that is called by HttpJspBase.service(). This is where most of the code generated from JSPs go.


SERVLET_CLASSPATH

public static final String SERVLET_CLASSPATH
FIXME ServletContext attribute for classpath. This is tomcat specific. Other servlet engines may choose to support this attribute if they want to have this JSP engine running on them.


SERVLET_CLASS_LOADER

public static final String SERVLET_CLASS_LOADER
FIXME ServletContext attribute for class loader. This is tomcat specific. Other servlet engines can choose to have this attribute if they want to have this JSP engine running on them.


SERVLET_CONTENT_TYPE

public static final String SERVLET_CONTENT_TYPE
Default servlet content type.


STANDARD_IMPORTS

public static final String[] STANDARD_IMPORTS
These classes/packages are automatically imported by the generated code.


TAGLIB_DTD_PUBLIC_ID_11

public static final String TAGLIB_DTD_PUBLIC_ID_11
Public Id and the Resource path (of the cached copy) of the DTDs for tag library descriptors.


TAGLIB_DTD_PUBLIC_ID_12

public static final String TAGLIB_DTD_PUBLIC_ID_12


TAGLIB_DTD_RESOURCE_PATH_11

public static final String TAGLIB_DTD_RESOURCE_PATH_11


TAGLIB_DTD_RESOURCE_PATH_12

public static final String TAGLIB_DTD_RESOURCE_PATH_12


TAG_FILE_PACKAGE_NAME

public static final String TAG_FILE_PACKAGE_NAME
The default package name for tag handlers generated from tag files


TEMP_VARIABLE_NAME_PREFIX

public static final String TEMP_VARIABLE_NAME_PREFIX
Prefix to use for generated temporary variable names


TMP_DIR

public static final String TMP_DIR


WEBAPP_DTD_PUBLIC_ID_22

public static final String WEBAPP_DTD_PUBLIC_ID_22
Public Id and the Resource path (of the cached copy) of the DTDs for web application deployment descriptors


WEBAPP_DTD_PUBLIC_ID_23

public static final String WEBAPP_DTD_PUBLIC_ID_23


WEBAPP_DTD_RESOURCE_PATH_22

public static final String WEBAPP_DTD_RESOURCE_PATH_22


WEBAPP_DTD_RESOURCE_PATH_23

public static final String WEBAPP_DTD_RESOURCE_PATH_23


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