Serialized Form


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

key

java.lang.String key

The message key for this message.


values

java.lang.Object[] values

The replacement values for this mesasge.


resource

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

accessed

boolean accessed

Have the messages been retrieved from this object?

The controller uses this property to determine if session-scoped messages can be removed.

Since:
Struts 1.2

messages

java.util.HashMap<K,V> messages

The accumulated set of ActionMessage objects (represented as an ArrayList) for each property, keyed by property name.


iCount

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

list

java.util.List<E> list

The list of ActionMessages.


iOrder

int iOrder

The position in the list of messages.


property

java.lang.String property

The property associated with ActionMessage.

Class org.apache.struts.action.ActionRedirect extends ActionForward implements Serializable

Serialized Fields

parameterValues

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.


anchorValue

java.lang.String anchorValue

Holds the anchor value.

Class org.apache.struts.action.ActionServlet extends javax.servlet.http.HttpServlet implements Serializable

Serialized Fields

config

java.lang.String config

Comma-separated list of context-relative path(s) to our configuration resource(s) for the default module.


chainConfig

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).


configDigester

org.apache.commons.digester.Digester configDigester

The Digester used to produce ModuleConfig objects from a Struts configuration file.

Since:
Struts 1.1

convertNull

boolean convertNull

The flag to request backwards-compatible conversions for form bean properties of the Java wrapper class types.

Since:
Struts 1.1

internal

MessageResources internal

The resources object for our internal resources.


internalName

java.lang.String internalName

The Java base name of our internal resources.

Since:
Struts 1.1

registrations

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!


servletMapping

java.lang.String servletMapping

The URL pattern to which we are mapped in our web application deployment descriptor.


servletName

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

dynaClass

DynaActionFormClass dynaClass

The DynaActionFormClass with which we are associated.


dynaValues

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

config

FormBeanConfig config

The form bean configuration information for this class.


name

java.lang.String name

The "dynamic class name" for this DynaClass.


properties

org.apache.commons.beanutils.DynaProperty[] properties

The set of dynamic properties that are part of this DynaClass.


propertiesMap

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

path

java.lang.String path
Field for Path property.

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

exceptions

java.util.HashMap<K,V> exceptions

The set of exception handling configurations for this action, if any, keyed by the type property.


forwards

java.util.HashMap<K,V> forwards

The set of local forward configurations for this action, if any, keyed by the name property.


moduleConfig

ModuleConfig moduleConfig

The module configuration with which we are associated.


attribute

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.


actionId

java.lang.String actionId

The internal identification of this action mapping. Identifications are not inheritable and must be unique within a module.

Since:
Struts 1.3.6

inherit

java.lang.String inherit

The path of the ActionConfig that this object should inherit properties from.


cancellableSet

boolean cancellableSet
Indicates whether the "cancellable " property has been set or not.


cancellable

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.


extensionProcessed

boolean extensionProcessed

Have the inheritance values for this class been applied?


forward

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.


include

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.


input

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.


multipartClass

java.lang.String multipartClass

Fully qualified Java class name of the MultipartRequestHandler implementation class used to process multi-part request data for this Action.


name

java.lang.String name

Name of the form bean, if any, associated with this Action.


parameter

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.


path

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.


prefix

java.lang.String prefix

Prefix used to match request parameter names to form bean property names, if any.


roles

java.lang.String roles

Comma-delimited list of security role names allowed to request this Action.


roleNames

java.lang.String[] roleNames

The set of security role names used to authorize access to this Action, as an array for faster access.


scope

java.lang.String scope

Identifier of the scope ("request" or "session") within which our form bean is accessed, if any.


suffix

java.lang.String suffix

Suffix used to match request parameter names to form bean property names, if any.


type

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.


unknown

boolean unknown

Indicates Action be configured as the default one for this module, when true.


validateSet

boolean validateSet
Indicates whether the "validate" property has been set or not.


validate

boolean validate

Should the validate() method of the form bean associated with this action be called?


command

java.lang.String command

The name of a commons-chain command which should be executed as part of the processing of this action.

Since:
Struts 1.3.0

catalog

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.

Since:
Struts 1.3.0

Class org.apache.struts.config.ActionConfigMatcher extends java.lang.Object implements Serializable

Serialized Fields

compiledPaths

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

configured

boolean configured
Indicates if configuration of this component been completed. TODO change protected to private and use methods provided by extenders?


properties

java.util.Properties properties
A map of arbitrary properties configured for this component.

Since:
Struts 1.3

Class org.apache.struts.config.ControllerConfig extends BaseConfig implements Serializable

Serialized Fields

bufferSize

int bufferSize

The input buffer size for file uploads.


contentType

java.lang.String contentType

The content type and character encoding to be set on each response.


catalog

java.lang.String catalog

The chain catalog name for this module.


command

java.lang.String command

The chain command to execute for each request.


forwardPattern

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:

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.


inputForward

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.

Since:
Struts 1.1

locale

boolean locale

Should we store a Locale object in the user's session if needed?


maxFileSize

java.lang.String maxFileSize

The maximum file size to process for file uploads.


memFileSize

java.lang.String memFileSize

The maximum file size to retain in memory.


multipartClass

java.lang.String multipartClass

The fully qualified Java class name of the MultipartRequestHandler class to be used.


nocache

boolean nocache

Should we set no-cache HTTP headers on each response?


pagePattern

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:

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.


processorClass

java.lang.String processorClass

The fully qualified class name of the RequestProcessor implementation class to be used for this module.


tempDir

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

bundle

java.lang.String bundle
The servlet context attribute under which the message resources bundle to be used for this exception is located. If not set, the default message resources for the current module is assumed.


inherit

java.lang.String inherit
The type of the ExceptionConfig that this object should inherit properties from.


extensionProcessed

boolean extensionProcessed
Have the inheritance values for this class been applied?


handler

java.lang.String handler
The fully qualified Java class name of the exception handler class which should be instantiated to handle this exception.


key

java.lang.String key
The message resources key specifying the error message associated with this exception.


path

java.lang.String path
The module-relative path of the resource to forward to if this exception occurs during an Action.


scope

java.lang.String scope
The scope in which we should expose the ActionMessage for this exception handler.


type

java.lang.String type
The fully qualified Java class name of the exception that is to be handled by this handler.

Class org.apache.struts.config.FormBeanConfig extends BaseConfig implements Serializable

Serialized Fields

formProperties

java.util.HashMap<K,V> formProperties
The set of FormProperty elements defining dynamic form properties for this form bean, keyed by property name.


lock

java.lang.String lock

The lockable object we can synchronize on when creating DynaActionFormClass.


dynamic

boolean dynamic
Is the form bean class an instance of DynaActionForm with dynamic properties?


inherit

java.lang.String inherit
The name of the FormBeanConfig that this config inherits configuration information from.


extensionProcessed

boolean extensionProcessed
Have the inheritance values for this class been applied?


name

java.lang.String name
The unique identifier of this form bean, which is used to reference this bean in 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.


type

java.lang.String type
The fully qualified Java class name of the implementation class to be used or generated.


restricted

boolean restricted
Is this DynaClass currently restricted (for DynaBeans with a MutableDynaClass).

Class org.apache.struts.config.FormPropertyConfig extends BaseConfig implements Serializable

Serialized Fields

initial

java.lang.String initial
String representation of the initial value for this property.


name

java.lang.String name
The JavaBean property name of the property described by this element.


reset

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.

Since:
Struts 1.3

size

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.

Since:
Struts 1.1

type

java.lang.String type
The fully qualified Java class name of the implementation class of this bean property, optionally followed by [] to indicate that the property is indexed.

Class org.apache.struts.config.ForwardConfig extends BaseConfig implements Serializable

Serialized Fields

inherit

java.lang.String inherit
The name of the ForwardConfig that this object should inherit properties from.


extensionProcessed

boolean extensionProcessed
Have the inheritance values for this class been applied?


name

java.lang.String name
The unique identifier of this forward, which is used to reference it in Action classes.


path

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:


module

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.


redirect

boolean redirect
Should a redirect be used to transfer control to the specified path?


command

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.


catalog

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

factory

java.lang.String factory
Fully qualified Java class name of the MessageResourcesFactory class we should use.


key

java.lang.String key
The servlet context attributes key under which this MessageResources instance is stored.


nullValue

boolean nullValue
Should we return null for unknown message keys?


escape

boolean escape
Indicates whether 'escape processing' should be performed on the error message string.


parameter

java.lang.String parameter
Parameter that is passed to the createResources() method of our MessageResourcesFactory implementation.

Class org.apache.struts.config.PlugInConfig extends java.lang.Object implements Serializable

Serialized Fields

configured

boolean configured
Has this component been completely configured?


properties

java.util.Map<K,V> properties
A Map of the name-value pairs that will be used to configure the property values of a PlugIn instance.


className

java.lang.String className
The fully qualified Java class name of the 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

actionConfigs

java.util.HashMap<K,V> actionConfigs

The set of action configurations for this module, if any, keyed by the path property.


actionConfigIds

java.util.HashMap<K,V> actionConfigIds

The set of action configuration for this module, if any, keyed by the actionId property.


actionConfigList

java.util.List<E> actionConfigList

The set of action configurations for this module, if any, listed in the order in which they are added.


exceptions

java.util.HashMap<K,V> exceptions

The set of exception handling configurations for this module, if any, keyed by the type property.


formBeans

java.util.HashMap<K,V> formBeans

The set of form bean configurations for this module, if any, keyed by the name property.


forwards

java.util.HashMap<K,V> forwards

The set of global forward configurations for this module, if any, keyed by the name property.


messageResources

java.util.HashMap<K,V> messageResources

The set of message resources configurations for this module, if any, keyed by the key property.


plugIns

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 controllerConfig

The controller configuration object for this module.


prefix

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.


actionFormBeanClass

java.lang.String actionFormBeanClass

The default class name to be used when creating action form bean instances.


actionMappingClass

java.lang.String actionMappingClass
The default class name to be used when creating action mapping instances.


actionForwardClass

java.lang.String actionForwardClass
The default class name to be used when creating action forward instances.


matcher

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

servletContext

javax.servlet.ServletContext servletContext

servletConfig

javax.servlet.ServletConfig servletConfig

Class org.apache.struts.mock.MockFormBean extends ActionForm implements Serializable

Serialized Fields

throwException

boolean throwException

returnNulls

boolean returnNulls

defaultValue

java.lang.String defaultValue

defaultDouble

java.lang.Double defaultDouble

arrayCount

int arrayCount

booleanProperty

boolean booleanProperty

stringProperty

java.lang.String stringProperty

Package org.apache.struts.util

Class org.apache.struts.util.ImageButtonBean extends java.lang.Object implements Serializable

Serialized Fields

x

java.lang.String x
The X coordinate of the button press.


y

java.lang.String y
The Y coordinate of the button press.

Class org.apache.struts.util.LabelValueBean extends java.lang.Object implements Serializable

Serialized Fields

label

java.lang.String label
The property which supplies the option label visible to the end user.


value

java.lang.String value
The property which supplies the value returned to the server.

Class org.apache.struts.util.MessageResources extends java.lang.Object implements Serializable

Serialized Fields

config

java.lang.String config
The configuration parameter used to initialize this MessageResources.


defaultLocale

java.util.Locale defaultLocale
The default Locale for our environment.


factory

MessageResourcesFactory factory
The MessageResourcesFactory that created this instance.


formats

java.util.HashMap<K,V> formats
The set of previously created MessageFormat objects, keyed by the key computed in messageKey().


returnNull

boolean returnNull
Indicate is a null is returned instead of an error message string when an unknown Locale or key is requested.


escape

boolean escape
Indicates whether 'escape processing' should be performed on the error message string.

Class org.apache.struts.util.MessageResourcesFactory extends java.lang.Object implements Serializable

Serialized Fields

config

MessageResourcesConfig config
Configuration information for Message Resources.


returnNull

boolean returnNull
The "return null" property value to which newly created MessageResourcess should be initialized.

Class org.apache.struts.util.ModuleException extends java.lang.Exception implements Serializable

Serialized Fields

property

java.lang.String property

message

ActionMessage message
The ActionMessage associated with this exception.

Since:
Struts 1.2

Class org.apache.struts.util.PropertyMessageResources extends MessageResources implements Serializable

Serialized Fields

locales

java.util.HashMap<K,V> locales
The set of locale keys for which we have already loaded messages, keyed by the value calculated in localeKey().


messages

java.util.HashMap<K,V> messages
The cache of messages we have accumulated over time, keyed by the value calculated in messageKey().


mode

int mode
Compatibility mode that PropertyMessageResources is operating in.

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

dynaBean

org.apache.commons.beanutils.DynaBean dynaBean
The DynaBean that this ActionForm is backed by.


pathValidation

boolean pathValidation
Indicates whether the ActionMapping's path should be used for the validation key.


strutsConfigFormName

java.lang.String strutsConfigFormName
The name used to identify the ActionForm in the struts-config.xml

Class org.apache.struts.validator.DynaValidatorForm extends DynaActionForm implements Serializable

Serialized Fields

validatorResults

org.apache.commons.validator.ValidatorResults validatorResults
The results returned from the validation performed by the Validator.


page

int page
Used to indicate the current page of a multi-page form.

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

validatorResults

org.apache.commons.validator.ValidatorResults validatorResults
The results returned from the validation performed by the Validator.


page

int page
Used to indicate the current page of a multi-page form.



Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.