|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Package org.apache.struts |
---|
Class org.apache.struts.Globals extends java.lang.Object implements Serializable |
---|
Package org.apache.struts.action |
---|
Class org.apache.struts.action.ActionErrors extends ActionMessages implements Serializable |
---|
Class org.apache.struts.action.ActionForm extends java.lang.Object implements Serializable |
---|
Class org.apache.struts.action.ActionFormBean extends FormBeanConfig implements Serializable |
---|
Class org.apache.struts.action.ActionForward extends ForwardConfig implements Serializable |
---|
Class org.apache.struts.action.ActionMapping extends ActionConfig implements Serializable |
---|
Class org.apache.struts.action.ActionMessage extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.lang.String key
The message key for this message.
java.lang.Object[] values
The replacement values for this mesasge.
boolean resource
Indicates whether the key is taken to be as a bundle key [true] or literal value [false].
Class org.apache.struts.action.ActionMessages extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
boolean accessed
Have the messages been retrieved from this object?
The controller uses this property to determine if session-scoped messages can be removed.
java.util.HashMap<K,V> messages
The accumulated set of ActionMessage
objects
(represented as an ArrayList) for each property, keyed by property
name.
int iCount
The current number of the property/key being added. This is used to maintain the order messages are added.
Class org.apache.struts.action.ActionMessages.ActionMessageItem extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.util.List<E> list
The list of ActionMessage
s.
int iOrder
The position in the list of messages.
java.lang.String property
The property associated with ActionMessage
.
Class org.apache.struts.action.ActionRedirect extends ActionForward implements Serializable |
---|
Serialized Fields |
---|
java.util.Map<K,V> parameterValues
Holds the redirect parameters. Each entry is either a String or a String[] depending on whether it has one or more entries.
java.lang.String anchorValue
Holds the anchor value.
Class org.apache.struts.action.ActionServlet extends javax.servlet.http.HttpServlet implements Serializable |
---|
Serialized Fields |
---|
java.lang.String config
Comma-separated list of context-relative path(s) to our configuration resource(s) for the default module.
java.lang.String chainConfig
Comma-separated list of context or classloader-relative path(s) that contain the configuration for the default commons-chain catalog(s).
org.apache.commons.digester.Digester configDigester
The Digester used to produce ModuleConfig objects from a Struts configuration file.
boolean convertNull
The flag to request backwards-compatible conversions for form bean properties of the Java wrapper class types.
MessageResources internal
The resources object for our internal resources.
java.lang.String internalName
The Java base name of our internal resources.
java.lang.String[] registrations
The set of public identifiers, and corresponding resource names, for the versions of the configuration file DTDs that we know about. There MUST be an even number of Strings in this list!
java.lang.String servletMapping
The URL pattern to which we are mapped in our web application deployment descriptor.
java.lang.String servletName
The servlet name under which we are registered in our web application deployment descriptor.
Class org.apache.struts.action.ActionServletWrapper extends java.lang.Object implements Serializable |
---|
Class org.apache.struts.action.DynaActionForm extends ActionForm implements Serializable |
---|
Serialized Fields |
---|
DynaActionFormClass dynaClass
The DynaActionFormClass
with which we are associated.
java.util.HashMap<K,V> dynaValues
The set of property values for this DynaActionForm
,
keyed by property name.
Class org.apache.struts.action.DynaActionFormClass extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
FormBeanConfig config
The form bean configuration information for this class.
java.lang.String name
The "dynamic class name" for this DynaClass
.
org.apache.commons.beanutils.DynaProperty[] properties
The set of dynamic properties that are part of this DynaClass.
java.util.HashMap<K,V> propertiesMap
The set of dynamic properties that are part of this
DynaClass
, keyed by the property name. Individual
descriptor instances will be the same instances as those in the
properties
list.
Class org.apache.struts.action.ForwardingActionForward extends ActionForward implements Serializable |
---|
Class org.apache.struts.action.InvalidCancelException extends java.lang.Exception implements Serializable |
---|
Class org.apache.struts.action.RedirectingActionForward extends ActionForward implements Serializable |
---|
Class org.apache.struts.action.RequestActionMapping extends ActionMapping implements Serializable |
---|
Class org.apache.struts.action.SessionActionMapping extends ActionMapping implements Serializable |
---|
Package org.apache.struts.chain.commands |
---|
Class org.apache.struts.chain.commands.InvalidPathException extends java.lang.Exception implements Serializable |
---|
Serialized Fields |
---|
java.lang.String path
Class org.apache.struts.chain.commands.UnauthorizedActionException extends java.lang.Exception implements Serializable |
---|
Package org.apache.struts.config |
---|
Class org.apache.struts.config.ActionConfig extends BaseConfig implements Serializable |
---|
Serialized Fields |
---|
java.util.HashMap<K,V> exceptions
The set of exception handling configurations for this action, if
any, keyed by the type
property.
java.util.HashMap<K,V> forwards
The set of local forward configurations for this action, if any,
keyed by the name
property.
ModuleConfig moduleConfig
The module configuration with which we are associated.
java.lang.String attribute
The request-scope or session-scope attribute name under which our
form bean is accessed, if it is different from the form bean's
specified name
.
java.lang.String actionId
The internal identification of this action mapping. Identifications are not inheritable and must be unique within a module.
java.lang.String inherit
The path of the ActionConfig that this object should inherit properties from.
boolean cancellableSet
boolean cancellable
Can this Action be cancelled? [false]
By default, when an Action is cancelled, validation is bypassed and the Action should not execute the business operation. If a request tries to cancel an Action when cancellable is not set, a "InvalidCancelException" is thrown.
boolean extensionProcessed
Have the inheritance values for this class been applied?
java.lang.String forward
Context-relative path of the web application resource that will
process this request via RequestDispatcher.forward(), instead of
instantiating and calling the Action
class specified by
"type". Exactly one of forward
, include
, or
type
must be specified.
java.lang.String include
Context-relative path of the web application resource that will
process this request via RequestDispatcher.include(), instead of
instantiating and calling the Action
class specified by
"type". Exactly one of forward
, include
, or
type
must be specified.
java.lang.String input
Context-relative path of the input form to which control should be returned if a validation error is encountered. Required if "name" is specified and the input bean returns validation errors.
java.lang.String multipartClass
Fully qualified Java class name of the MultipartRequestHandler
implementation class used to process multi-part request data for this
Action.
java.lang.String name
Name of the form bean, if any, associated with this Action.
java.lang.String parameter
General purpose configuration parameter that can be used to pass extra information to the Action instance selected by this Action. Struts does not itself use this value in any way.
java.lang.String path
Context-relative path of the submitted request, starting with a slash ("/") character, and omitting any filename extension if extension mapping is being used.
java.lang.String prefix
Prefix used to match request parameter names to form bean property names, if any.
java.lang.String roles
Comma-delimited list of security role names allowed to request this Action.
java.lang.String[] roleNames
The set of security role names used to authorize access to this Action, as an array for faster access.
java.lang.String scope
Identifier of the scope ("request" or "session") within which our form bean is accessed, if any.
java.lang.String suffix
Suffix used to match request parameter names to form bean property names, if any.
java.lang.String type
Fully qualified Java class name of the Action
class to
be used to process requests for this mapping if the
forward
and include
properties are not set.
Exactly one of forward
, include
, or
type
must be specified.
boolean unknown
Indicates Action be configured as the default one for this module, when true.
boolean validateSet
boolean validate
Should the validate()
method of the form bean
associated with this action be called?
java.lang.String command
The name of a commons-chain
command which should be
executed as part of the processing of this action.
java.lang.String catalog
The name of a commons-chain
catalog in which
command
should be sought. If a command
is
defined and this property is undefined, the "default" catalog will be
used. This is likely to be infrequently used after a future release of
commons-chain
supports a one-string expression of a
catalog/chain combination.
Class org.apache.struts.config.ActionConfigMatcher extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.util.List<E> compiledPaths
The compiled paths and their associated ActionConfig's
Class org.apache.struts.config.BaseConfig extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
boolean configured
java.util.Properties properties
Class org.apache.struts.config.ControllerConfig extends BaseConfig implements Serializable |
---|
Serialized Fields |
---|
int bufferSize
The input buffer size for file uploads.
java.lang.String contentType
The content type and character encoding to be set on each response.
java.lang.String catalog
The chain catalog name for this module.
java.lang.String command
The chain command to execute for each request.
java.lang.String forwardPattern
The replacement pattern used to determine a context-relative URL
from a ForwardConfig
element. The pattern may consist of any
combination of the following markers and characters:
$M
- Replaced by the module prefix
for the current module.$P
- Replaced by the
path
property of a ForwardConfig
instance.$$
- Renders a literal dollar sign
("$") character in the resulting URL.If this property is set to null
, a default pattern of
$M$P
is utilized, which is backwards compatible with the
hard coded functionality in prior versions.
boolean inputForward
Should the input
property of ActionConfig
instances associated with this module be treated as the name of a
corresponding ForwardConfig
. A false
value treats
them as a module-relative path (consistent with the hard coded behavior
of earlier versions of Struts.
boolean locale
Should we store a Locale object in the user's session if needed?
java.lang.String maxFileSize
The maximum file size to process for file uploads.
java.lang.String memFileSize
The maximum file size to retain in memory.
java.lang.String multipartClass
The fully qualified Java class name of the MultipartRequestHandler class to be used.
boolean nocache
Should we set no-cache HTTP headers on each response?
java.lang.String pagePattern
The replacement pattern used to determine a context-relative URL
from the page
attribute of Struts tags and configuration
properties. The pattern may consist of any combination of the
following markers and characters:
$M
- Replaced by the module prefix
for the current module.$P
- Replaced by the
page
attribute value being evaluated.$$
- Renders a literal dollar sign
("$") character in the resulting URL.If this property is set to null
, a default pattern of
$M$P
is utilized, which is backwards compatible with the
hard coded functionality in prior versions.
java.lang.String processorClass
The fully qualified class name of the RequestProcessor implementation class to be used for this module.
java.lang.String tempDir
The temporary working directory to use for file uploads.
Class org.apache.struts.config.ExceptionConfig extends BaseConfig implements Serializable |
---|
Serialized Fields |
---|
java.lang.String bundle
java.lang.String inherit
boolean extensionProcessed
java.lang.String handler
java.lang.String key
java.lang.String path
Action
.
java.lang.String scope
java.lang.String type
Class org.apache.struts.config.FormBeanConfig extends BaseConfig implements Serializable |
---|
Serialized Fields |
---|
java.util.HashMap<K,V> formProperties
java.lang.String lock
The lockable object we can synchronize on when creating DynaActionFormClass.
boolean dynamic
java.lang.String inherit
boolean extensionProcessed
java.lang.String name
ActionMapping
instances as well as for the
name of the request or session attribute under which the corresponding
form bean instance is created or accessed.
java.lang.String type
boolean restricted
Class org.apache.struts.config.FormPropertyConfig extends BaseConfig implements Serializable |
---|
Serialized Fields |
---|
java.lang.String initial
java.lang.String name
java.lang.String reset
The conditions under which the property described by this element
should be reset to its initial
value when the form's
reset
method is called.
This may be set to true (to always reset the property) or a comma-separated list of HTTP request methods.
int size
The size of the array to be created if this property is an array
type and there is no specified initial
value. This value
must be non-negative.
java.lang.String type
[]
to indicate that
the property is indexed.
Class org.apache.struts.config.ForwardConfig extends BaseConfig implements Serializable |
---|
Serialized Fields |
---|
java.lang.String inherit
boolean extensionProcessed
java.lang.String name
Action
classes.
java.lang.String path
The URL to which this ForwardConfig
entry points, which
must start with a slash ("/") character. It is interpreted according
to the following rules:
contextRelative
property is true
, the
path is considered to be context-relative within the current web
application (even if we are in a named module). It will be prefixed by
the context path to create a server-relative URL.contextRelative
property is false, the path is
considered to be the module-relative portion of the URL. It will be
used as the replacement for the $P
marker in the
forwardPattern
property defined on the ControllerConfig
element for our current module. For the default
forwardPattern
value of $C$M$P
, the resulting
server-relative URL will be the concatenation of the context path, the
module prefix, and the path
from this
ForwardConfig
.
java.lang.String module
The prefix of the module to which this ForwardConfig
entry points, which must start with a slash ("/") character.
Usage note: If a forward config is used in a hyperlink, and a module is specified, the path must lead to another action and not directly to a page. This is in keeping with rule that in a modular application all links must be to an action rather than a page.
boolean redirect
java.lang.String command
The name of a commons-chain
command which should be
looked up and executed before Struts dispatches control to the view
represented by this config.
java.lang.String catalog
The name of a commons-chain
catalog in which
command
should be looked up. If this value is undefined,
then the command will be looked up in the "default" catalog. This
value has no meaning except in the context of the command
property.
Class org.apache.struts.config.MessageResourcesConfig extends BaseConfig implements Serializable |
---|
Serialized Fields |
---|
java.lang.String factory
java.lang.String key
boolean nullValue
null
for unknown message keys?
boolean escape
java.lang.String parameter
createResources()
method
of our MessageResourcesFactory implementation.
Class org.apache.struts.config.PlugInConfig extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
boolean configured
java.util.Map<K,V> properties
Map
of the name-value pairs that will be used to
configure the property values of a PlugIn
instance.
java.lang.String className
PlugIn
implementation class being configured.
Package org.apache.struts.config.impl |
---|
Class org.apache.struts.config.impl.DefaultModuleConfigFactory extends ModuleConfigFactory implements Serializable |
---|
Class org.apache.struts.config.impl.ModuleConfigImpl extends BaseConfig implements Serializable |
---|
Serialized Fields |
---|
java.util.HashMap<K,V> actionConfigs
The set of action configurations for this module, if any, keyed by
the path
property.
java.util.HashMap<K,V> actionConfigIds
The set of action configuration for this module, if any, keyed by
the actionId
property.
java.util.List<E> actionConfigList
The set of action configurations for this module, if any, listed in the order in which they are added.
java.util.HashMap<K,V> exceptions
The set of exception handling configurations for this module, if
any, keyed by the type
property.
java.util.HashMap<K,V> formBeans
The set of form bean configurations for this module, if any, keyed
by the name
property.
java.util.HashMap<K,V> forwards
The set of global forward configurations for this module, if any,
keyed by the name
property.
java.util.HashMap<K,V> messageResources
The set of message resources configurations for this module, if any,
keyed by the key
property.
java.util.ArrayList<E> plugIns
The set of configured plug-in Actions for this module, if any, in the order they were declared and configured.
ControllerConfig controllerConfig
The controller configuration object for this module.
java.lang.String prefix
The prefix of the context-relative portion of the request URI, used to select this configuration versus others supported by the controller servlet. A configuration with a prefix of a zero-length String is the default configuration for this web module.
java.lang.String actionFormBeanClass
The default class name to be used when creating action form bean instances.
java.lang.String actionMappingClass
java.lang.String actionForwardClass
ActionConfigMatcher matcher
Matches action config paths against compiled wildcard patterns
Package org.apache.struts.mock |
---|
Class org.apache.struts.mock.MockActionServlet extends ActionServlet implements Serializable |
---|
Serialized Fields |
---|
javax.servlet.ServletContext servletContext
javax.servlet.ServletConfig servletConfig
Class org.apache.struts.mock.MockFormBean extends ActionForm implements Serializable |
---|
Serialized Fields |
---|
boolean throwException
boolean returnNulls
java.lang.String defaultValue
java.lang.Double defaultDouble
int arrayCount
boolean booleanProperty
java.lang.String stringProperty
Package org.apache.struts.util |
---|
Class org.apache.struts.util.ImageButtonBean extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.lang.String x
java.lang.String y
Class org.apache.struts.util.LabelValueBean extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.lang.String label
java.lang.String value
Class org.apache.struts.util.MessageResources extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.lang.String config
java.util.Locale defaultLocale
MessageResourcesFactory factory
MessageResourcesFactory
that created this instance.
java.util.HashMap<K,V> formats
messageKey()
.
boolean returnNull
null
is returned instead of an error message
string when an unknown Locale or key is requested.
boolean escape
Class org.apache.struts.util.MessageResourcesFactory extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
MessageResourcesConfig config
boolean returnNull
Class org.apache.struts.util.ModuleException extends java.lang.Exception implements Serializable |
---|
Serialized Fields |
---|
java.lang.String property
ActionMessage message
Class org.apache.struts.util.PropertyMessageResources extends MessageResources implements Serializable |
---|
Serialized Fields |
---|
java.util.HashMap<K,V> locales
localeKey()
.
java.util.HashMap<K,V> messages
messageKey()
.
int mode
Class org.apache.struts.util.PropertyMessageResourcesFactory extends MessageResourcesFactory implements Serializable |
---|
Package org.apache.struts.validator |
---|
Class org.apache.struts.validator.BeanValidatorForm extends ValidatorForm implements Serializable |
---|
Serialized Fields |
---|
org.apache.commons.beanutils.DynaBean dynaBean
DynaBean
that this ActionForm is backed by.
boolean pathValidation
java.lang.String strutsConfigFormName
Class org.apache.struts.validator.DynaValidatorForm extends DynaActionForm implements Serializable |
---|
Serialized Fields |
---|
org.apache.commons.validator.ValidatorResults validatorResults
Validator
.
int page
Class org.apache.struts.validator.FieldChecks extends java.lang.Object implements Serializable |
---|
Class org.apache.struts.validator.LazyValidatorForm extends BeanValidatorForm implements Serializable |
---|
Class org.apache.struts.validator.ValidatorForm extends ActionForm implements Serializable |
---|
Serialized Fields |
---|
org.apache.commons.validator.ValidatorResults validatorResults
Validator
.
int page
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |