Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.struts.Globals
public class Globals
extends java.lang.Object
implements Serializable
Action
,
but were moved here so that they could be referenced without referencing
the Action
class itself. For backwards compatibility,
constant references there point at this class, and the constant values
themselves have not changed.
Field Summary | |
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
static String |
|
public static final String ACTION_SERVLET_KEY
The context attributes key under which ourActionServlet
instance will be stored.
- Since:
- Struts 1.1
public static final String APPLICATION_KEY
Deprecated. Use MODULE_KEY
The base of the context attributes key under which ourModuleConfig
data structure will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual attributes key. For each request processed by the controller servlet, theModuleConfig
object for the module selected by the request URI currently being processed will also be exposed under this key as a request attribute.
- Since:
- Struts 1.1
public static final String CANCEL_KEY
The request attributes key under which a booleantrue
value should be stored if this request was cancelled.
- Since:
- Struts 1.1
public static final String DATA_SOURCE_KEY
The context attributes key under which our default configured data source (which must implementjavax.sql.DataSource
) is stored, if one is configured for this module.
public static final String ERROR_KEY
The request attributes key under which your action should store anorg.apache.struts.action.ActionErrors
object, if you are using the corresponding custom tag library elements.
public static final String EXCEPTION_KEY
The request attributes key under which Struts custom tags might store aThrowable
that caused them to report a JspException at runtime. This value can be used on an error page to provide more detailed information about what really went wrong.
public static final String FORM_BEANS_KEY
Deprecated. Replaced by collection in ModuleConfig
The context attributes key under which ourorg.apache.struts.action.ActionFormBeans
collection is normally stored, unless overridden when initializing our ActionServlet.
public static final String FORWARDS_KEY
Deprecated. Replaced by collection in ModuleConfig.
The context attributes key under which ourorg.apache.struts.action.ActionForwards
collection is normally stored, unless overridden when initializing our ActionServlet.
public static final String LOCALE_KEY
The session attributes key under which the user's selectedjava.util.Locale
is stored, if any. If no such attribute is found, the system default locale will be used when retrieving internationalized messages. If used, this attribute is typically set during user login processing.
public static final String MAPPINGS_KEY
Deprecated. Replaced by collection in ModuleConfig
The context attributes key under which ourorg.apache.struts.action.ActionMappings
collection is normally stored, unless overridden when initializing our ActionServlet.
public static final String MAPPING_KEY
The request attributes key under which ourorg.apache.struts.ActionMapping
instance is passed.
public static final String MESSAGES_KEY
The base of the context attributes key under which our moduleMessageResources
will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual resources key. For each request processed by the controller servlet, theMessageResources
object for the module selected by the request URI currently being processed will also be exposed under this key as a request attribute.
public static final String MESSAGE_KEY
The request attributes key under which your action should store anorg.apache.struts.action.ActionMessages
object, if you are using the corresponding custom tag library elements.
- Since:
- Struts 1.1
public static final String MODULE_KEY
The base of the context attributes key under which ourModuleConfig
data structure will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual attributes key. For each request processed by the controller servlet, theModuleConfig
object for the module selected by the request URI currently being processed will also be exposed under this key as a request attribute.
- Since:
- Struts 1.1
public static final String MULTIPART_KEY
The request attributes key under which our multipart class is stored.
public static final String PLUG_INS_KEY
The base of the context attributes key under which an array ofPlugIn
instances will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual attributes key.
- Since:
- Struts 1.1
public static final String REQUEST_PROCESSOR_KEY
The base of the context attributes key under which ourRequestProcessor
instance will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual attributes key.
- Since:
- Struts 1.1
public static final String SERVLET_KEY
The context attributes key under which we store the mapping defined for our controller serlet, which will be either a path-mapped pattern (/action/*
) or an extension mapped pattern (*.do
).
public static final String TRANSACTION_TOKEN_KEY
The session attributes key under which our transaction token is stored, if it is used.
public static final String XHTML_KEY
The page attributes key under which xhtml status is stored. This may be "true" or "false". When set to true, the html tags output xhtml.
- Since:
- Struts 1.1