Package org.apache.jasper
Class Constants
- java.lang.Object
-
- org.apache.jasper.Constants
-
public class Constants extends java.lang.ObjectSome 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
Fields Modifier and Type Field Description static java.lang.StringCATALINA_HOME_PROPName of the system property containing the tomcat product installation pathstatic intDEFAULT_BUFFER_SIZEDefault size of the JSP buffer.static intDEFAULT_TAG_BUFFER_SIZEDefault size for the tag buffers.static java.lang.StringIE_PLUGIN_URLDeprecated.static booleanIS_SECURITY_ENABLEDHas security been turned on?static java.lang.StringJSP_PACKAGE_NAMEThe default package name for compiled jsp pages.static java.lang.StringJSP_SERVLET_BASEThe base class of the generated servlets.static intMAX_POOL_SIZEDefault tag handler pool size.static java.lang.StringNS_PLUGIN_URLDeprecated.Will be removed in Tomcat 10.1 onwardsstatic java.lang.StringPRECOMPILEThe query parameter that causes the JSP engine to just pregenerated the servlet but not invoke it.static java.lang.StringSERVICE_METHOD_NAME_jspService is the name of the method that is called by HttpJspBase.service().static java.lang.StringSERVLET_CLASSPATHServletContext attribute for classpath.static java.lang.StringSESSION_PARAMETER_NAMEThe name of the path parameter used to pass the session identifier back and forth with the client.static java.lang.StringSPEC_VERSIONstatic java.util.List<java.lang.String>STANDARD_IMPORTSstatic java.lang.StringTAG_FILE_PACKAGE_NAMEThe default package name for tag handlers generated from tag filesstatic java.lang.StringTEMP_VARIABLE_NAME_PREFIXPrefix to use for generated temporary variable namesstatic booleanUSE_INSTANCE_MANAGER_FOR_TAGSstatic java.lang.StringXML_BLOCK_EXTERNAL_INIT_PARAMName of the ServletContext init-param that determines if the XML parsers will block the resolution of external entities.static java.lang.StringXML_VALIDATION_TLD_INIT_PARAMName of the ServletContext init-param that determines if the XML parsers used for *.tld files will be validating or not.
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
SPEC_VERSION
public static final java.lang.String SPEC_VERSION
- See Also:
- Constant Field Values
-
JSP_SERVLET_BASE
public static final java.lang.String JSP_SERVLET_BASE
The base class of the generated servlets.
-
SERVICE_METHOD_NAME
public static final java.lang.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.
-
STANDARD_IMPORTS
public static final java.util.List<java.lang.String> STANDARD_IMPORTS
-
SERVLET_CLASSPATH
public static final java.lang.String 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.
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE
Default size of the JSP buffer.- See Also:
- Constant Field Values
-
DEFAULT_TAG_BUFFER_SIZE
public static final int DEFAULT_TAG_BUFFER_SIZE
Default size for the tag buffers.- See Also:
- Constant Field Values
-
MAX_POOL_SIZE
public static final int MAX_POOL_SIZE
Default tag handler pool size.- See Also:
- Constant Field Values
-
PRECOMPILE
public static final java.lang.String PRECOMPILE
The query parameter that causes the JSP engine to just pregenerated the servlet but not invoke it.
-
JSP_PACKAGE_NAME
public static final java.lang.String JSP_PACKAGE_NAME
The default package name for compiled jsp pages.
-
TAG_FILE_PACKAGE_NAME
public static final java.lang.String TAG_FILE_PACKAGE_NAME
The default package name for tag handlers generated from tag files
-
NS_PLUGIN_URL
@Deprecated public static final java.lang.String NS_PLUGIN_URL
Deprecated.Will be removed in Tomcat 10.1 onwardsDefault URLs to download the plugin for Netscape and IE.- See Also:
- Constant Field Values
-
IE_PLUGIN_URL
@Deprecated public static final java.lang.String IE_PLUGIN_URL
Deprecated.- See Also:
- Constant Field Values
-
TEMP_VARIABLE_NAME_PREFIX
public static final java.lang.String TEMP_VARIABLE_NAME_PREFIX
Prefix to use for generated temporary variable names
-
IS_SECURITY_ENABLED
public static final boolean IS_SECURITY_ENABLED
Has security been turned on?
-
USE_INSTANCE_MANAGER_FOR_TAGS
public static final boolean USE_INSTANCE_MANAGER_FOR_TAGS
-
SESSION_PARAMETER_NAME
public static final java.lang.String SESSION_PARAMETER_NAME
The name of the path parameter used to pass the session identifier back and forth with the client.
-
CATALINA_HOME_PROP
public static final java.lang.String CATALINA_HOME_PROP
Name of the system property containing the tomcat product installation path- See Also:
- Constant Field Values
-
XML_VALIDATION_TLD_INIT_PARAM
public static final java.lang.String XML_VALIDATION_TLD_INIT_PARAM
Name of the ServletContext init-param that determines if the XML parsers used for *.tld files will be validating or not.This must be kept in sync with org.apache.catalina.Globals
- See Also:
- Constant Field Values
-
XML_BLOCK_EXTERNAL_INIT_PARAM
public static final java.lang.String XML_BLOCK_EXTERNAL_INIT_PARAM
Name of the ServletContext init-param that determines if the XML parsers will block the resolution of external entities.This must be kept in sync with org.apache.catalina.Globals
- See Also:
- Constant Field Values
-
-