Class Constants
java.lang.Object
org.apache.sling.scripting.jsp.jasper.Constants
Some constants and other global data that are used by the compiler and the runtime.
- Author:
- Anil K. Vijendran, Harish Prabandham, Shawn Bayern, Mark Roth
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String[]
List of the Public IDs that we cache, and their associated location.static final String[]
static final int
Default size of the JSP buffer.static final int
Default size for the tag buffers.static final char
A replacement char for "\$".static final String
static final String
static final String
Servlet context and request attributes that the JSP engine uses.static final boolean
Has security been turned on?static final String
Request attribute for<jsp-file>
element of a servlet definition.static final String
The default package name for compiled jsp pages.static final String
The name of the system property that will be checked to set the value forJSP_PACKAGE_NAME
.static final String
The base class of the generated servlets.static final int
Default tag handler pool size.static final String
Default URLs to download the pluging for Netscape and IE.static final String
The query parameter that causes the JSP engine to just pregenerated the servlet but not invoke it.static final String
_jspService is the name of the method that is called by HttpJspBase.service().static final String
ServletContext attribute for classpath.static final String
Default servlet content type.static final String
The name of the path parameter used to pass the session identifier back and forth with the client.static final String[]
These classes/packages are automatically imported by the generated code.static final String
The default package name for tag handlers generated from tag filesstatic final String
Public Id and the Resource path (of the cached copy) of the DTDs for tag library descriptors.static final String
static final String
static final String
static final String
Prefix to use for generated temporary variable namesstatic final String
static final String
Public Id and the Resource path (of the cached copy) of the DTDs for web application deployment descriptorsstatic final String
static final String
static final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
JSP_SERVLET_BASE
The base class of the generated servlets. -
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_CONTENT_TYPE
Default servlet content type.- See Also:
-
STANDARD_IMPORTS
These classes/packages are automatically imported by the generated code. -
SERVLET_CLASSPATH
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. -
JSP_FILE
Request attribute for<jsp-file>
element of a servlet definition. If present on a request, this overrides the value returned byrequest.getServletPath()
to select the JSP page to be executed. -
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZEDefault size of the JSP buffer.- See Also:
-
DEFAULT_TAG_BUFFER_SIZE
public static final int DEFAULT_TAG_BUFFER_SIZEDefault size for the tag buffers.- See Also:
-
MAX_POOL_SIZE
public static final int MAX_POOL_SIZEDefault tag handler pool size.- See Also:
-
PRECOMPILE
The query parameter that causes the JSP engine to just pregenerated the servlet but not invoke it. -
JSP_PACKAGE_NAME_PROPERTY_NAME
The name of the system property that will be checked to set the value forJSP_PACKAGE_NAME
.- See Also:
-
JSP_PACKAGE_NAME
The default package name for compiled jsp pages. -
TAG_FILE_PACKAGE_NAME
The default package name for tag handlers generated from tag files -
INC_SERVLET_PATH
Servlet context and request attributes that the JSP engine uses.- See Also:
-
TMP_DIR
- See Also:
-
ALT_DD_ATTR
-
TAGLIB_DTD_PUBLIC_ID_11
Public Id and the Resource path (of the cached copy) of the DTDs for tag library descriptors.- See Also:
-
TAGLIB_DTD_RESOURCE_PATH_11
- See Also:
-
TAGLIB_DTD_PUBLIC_ID_12
- See Also:
-
TAGLIB_DTD_RESOURCE_PATH_12
- See Also:
-
WEBAPP_DTD_PUBLIC_ID_22
Public Id and the Resource path (of the cached copy) of the DTDs for web application deployment descriptors- See Also:
-
WEBAPP_DTD_RESOURCE_PATH_22
- See Also:
-
WEBAPP_DTD_PUBLIC_ID_23
- See Also:
-
WEBAPP_DTD_RESOURCE_PATH_23
- See Also:
-
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
-
NS_PLUGIN_URL
Default URLs to download the pluging for Netscape and IE.- See Also:
-
IE_PLUGIN_URL
- See Also:
-
TEMP_VARIABLE_NAME_PREFIX
Prefix to use for generated temporary variable names -
ESC
public static final char ESCA replacement char for "\$". XXX This is a hack to avoid changing EL interpreter to recognize "\$"- See Also:
-
ESCStr
- See Also:
-
IS_SECURITY_ENABLED
public static final boolean IS_SECURITY_ENABLEDHas security been turned on? -
SESSION_PARAMETER_NAME
The name of the path parameter used to pass the session identifier back and forth with the client.- See Also:
-
-
Constructor Details
-
Constants
public Constants()
-