|
|||||||||
Home >> All >> org >> apache >> struts >> [ action overview ] | PREV NEXT |
A
- Action - class org.apache.struts.action.Action.
- An Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request.
- Action() - Constructor for class org.apache.struts.action.Action
- ActionError - class org.apache.struts.action.ActionError.
- Deprecated. Please use
ActionMessage
instead, deprecated since 1.2.0. - ActionError(String) - Constructor for class org.apache.struts.action.ActionError
- Deprecated. Construct an action error with no replacement values.
- ActionError(String, Object) - Constructor for class org.apache.struts.action.ActionError
- Deprecated. Construct an action error with the specified replacement values.
- ActionError(String, Object, Object) - Constructor for class org.apache.struts.action.ActionError
- Deprecated. Construct an action error with the specified replacement values.
- ActionError(String, Object, Object, Object) - Constructor for class org.apache.struts.action.ActionError
- Deprecated. Construct an action error with the specified replacement values.
- ActionError(String, Object, Object, Object, Object) - Constructor for class org.apache.struts.action.ActionError
- Deprecated. Construct an action error with the specified replacement values.
- ActionError(String, Object[]) - Constructor for class org.apache.struts.action.ActionError
- Deprecated. Construct an action error with the specified replacement values.
- ActionErrors - class org.apache.struts.action.ActionErrors.
- A class that encapsulates the error messages being reported by
the
validate()
method of anActionForm
. - ActionErrors() - Constructor for class org.apache.struts.action.ActionErrors
- Create an empty
ActionErrors
object. - ActionErrors(ActionErrors) - Constructor for class org.apache.struts.action.ActionErrors
- Create an
ActionErrors
object initialized with the given messages. - ActionForm - class org.apache.struts.action.ActionForm.
- An ActionForm is a JavaBean optionally associated with
one or more
ActionMappings
. - ActionForm() - Constructor for class org.apache.struts.action.ActionForm
- ActionFormBean - class org.apache.struts.action.ActionFormBean.
- An ActionFormBean is the definition of a form bean that
is loaded from a
<form-bean>
element in the Struts configuration file. - ActionFormBean() - Constructor for class org.apache.struts.action.ActionFormBean
- Construct an instance with default vaslues.
- ActionFormBean(String, String) - Constructor for class org.apache.struts.action.ActionFormBean
- Construct an instance with the specified values.
- ActionForward - class org.apache.struts.action.ActionForward.
- An ActionForward represents a destination to which the
controller,
RequestProcessor
, might be directed to perform aRequestDispatcher.forward
orHttpServletResponse.sendRedirect
to, as a result of processing activities of anAction
class. - ActionForward() - Constructor for class org.apache.struts.action.ActionForward
- Construct a new instance with default values.
- ActionForward(String) - Constructor for class org.apache.struts.action.ActionForward
- Construct a new instance with the specified path.
- ActionForward(String, boolean) - Constructor for class org.apache.struts.action.ActionForward
- Construct a new instance with the specified
path
andredirect
flag. - ActionForward(String, String, boolean) - Constructor for class org.apache.struts.action.ActionForward
- Construct a new instance with the specified
name
,path
andredirect
flag. - ActionForward(String, String, boolean, boolean) - Constructor for class org.apache.struts.action.ActionForward
- Deprecated. Use module rather than contextRelative
- ActionForward(String, String, boolean, String) - Constructor for class org.apache.struts.action.ActionForward
- Construct a new instance with the specified values.
- ActionForward(ActionForward) - Constructor for class org.apache.struts.action.ActionForward
- Construct a new instance based on the values of another ActionForward.
- ActionMapping - class org.apache.struts.action.ActionMapping.
- An ActionMapping represents the information that the
controller,
RequestProcessor
, knows about the mapping of a particular request to an instance of a particularAction
class. - ActionMapping() - Constructor for class org.apache.struts.action.ActionMapping
- ActionMessage - class org.apache.struts.action.ActionMessage.
- An encapsulation of an individual message returned by the
validate
method of anActionForm
, consisting of a message key (to be used to look up message text in an appropriate message resources database) plus up to four placeholder objects that can be used for parametric replacement in the message text. - ActionMessage(String) - Constructor for class org.apache.struts.action.ActionMessage
- Construct an action message with no replacement values.
- ActionMessage(String, Object) - Constructor for class org.apache.struts.action.ActionMessage
- Construct an action message with the specified replacement values.
- ActionMessage(String, Object, Object) - Constructor for class org.apache.struts.action.ActionMessage
- Construct an action message with the specified replacement values.
- ActionMessage(String, Object, Object, Object) - Constructor for class org.apache.struts.action.ActionMessage
- Construct an action message with the specified replacement values.
- ActionMessage(String, Object, Object, Object, Object) - Constructor for class org.apache.struts.action.ActionMessage
- Construct an action message with the specified replacement values.
- ActionMessage(String, Object[]) - Constructor for class org.apache.struts.action.ActionMessage
- Construct an action message with the specified replacement values.
- ActionMessage(String, boolean) - Constructor for class org.apache.struts.action.ActionMessage
- Construct an action message with the specified replacement values.
- ActionMessages - class org.apache.struts.action.ActionMessages.
- A class that encapsulates messages.
- ActionMessages() - Constructor for class org.apache.struts.action.ActionMessages
- Create an empty
ActionMessages
object. - ActionMessages(ActionMessages) - Constructor for class org.apache.struts.action.ActionMessages
- Create an
ActionMessages
object initialized with the given messages. - ActionMessages.ActionMessageItem - class org.apache.struts.action.ActionMessages.ActionMessageItem.
- This class is used to store a set of messages associated with a property/key and the position it was initially added to list.
- ActionMessages.ActionMessageItem(List, int, String) - Constructor for class org.apache.struts.action.ActionMessages.ActionMessageItem
- ActionRedirect - class org.apache.struts.action.ActionRedirect.
- A subclass of ActionForward which is designed for use in redirecting requests, with support for adding parameters at runtime.
- ActionRedirect() - Constructor for class org.apache.struts.action.ActionRedirect
- Construct a new instance with redirect set to true and initialize parameter lists.
- ActionRedirect(String) - Constructor for class org.apache.struts.action.ActionRedirect
- Construct a new instance with the specified path and initialize parameter lists.
- ActionRedirect(String, String, String) - Constructor for class org.apache.struts.action.ActionRedirect
- Construct a new instance with the specified values and initialize parameter lists.
- ActionRedirect(ForwardConfig) - Constructor for class org.apache.struts.action.ActionRedirect
- Construct a new instance with a org.apache.struts.config.ForwardConfig object to copy name, path, and contextRelative values from.
- ActionServlet - class org.apache.struts.action.ActionServlet.
- ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2".
- ActionServlet() - Constructor for class org.apache.struts.action.ActionServlet
- ActionServletWrapper - class org.apache.struts.action.ActionServletWrapper.
- Provide a wrapper around an ActionServlet to expose only those methods needed by other objects.
- ActionServletWrapper(ActionServlet) - Constructor for class org.apache.struts.action.ActionServletWrapper
- Create object and set
servlet
property. - aMsgs - Variable in class org.apache.struts.action.TestActionMessages
- accessed - Variable in class org.apache.struts.action.ActionMessages
- Have the messages been retrieved from this object?
- actionItemComparator - Static variable in class org.apache.struts.action.ActionMessages
- Compares ActionMessageItem objects.
- actions - Variable in class org.apache.struts.action.RequestProcessor
- The set of
Action
instances that have been created and initialized, keyed by the fully qualified Java class name of theAction
class. - add(String, ActionError) - Method in class org.apache.struts.action.ActionErrors
- Deprecated. Use add(String, ActionMessage) instead. This will be removed after Struts 1.2.
- add(String, ActionMessage) - Method in class org.apache.struts.action.ActionMessages
- Add a message to the set of messages for the specified property.
- add(ActionMessages) - Method in class org.apache.struts.action.ActionMessages
- Adds the messages from the given
ActionMessages
object to this set of messages. - addErrors(HttpServletRequest, ActionMessages) - Method in class org.apache.struts.action.Action
- Adds the specified errors keys into the appropriate request attribute for use by the <html:errors> tag, if any messages are required.
- addMessages(HttpServletRequest, ActionMessages) - Method in class org.apache.struts.action.Action
- Adds the specified messages keys into the appropriate request attribute for use by the <html:messages> tag (if messages="true" is set), if any messages are required.
- addParameter(String, Object) - Method in class org.apache.struts.action.ActionRedirect
- Adds the object's toString() to the list of parameters if it's not null, or an empty string with the given fieldName if it is.
- addRuleSets() - Method in class org.apache.struts.action.ActionServlet
- Add any custom RuleSet instances to configDigester that have
been specified in the
rulesets
init parameter. - addServletMapping(String, String) - Method in class org.apache.struts.action.ActionServlet
- Remember a servlet mapping from our web application deployment descriptor, if it is for this servlet.
- amWithNoValue - Variable in class org.apache.struts.action.TestActionMessage
- amWithOneValue - Variable in class org.apache.struts.action.TestActionMessage
- anMsgs - Variable in class org.apache.struts.action.TestActionMessages
- appConfig - Variable in class org.apache.struts.action.DynaActionFormMapping
- assertHasParameter(Map, String, String) - Static method in class org.apache.struts.action.TestActionRedirect
- Assert that the given parameters contains an entry for
paramValue
under theparamName
key.
B
- beanClass - Variable in class org.apache.struts.action.DynaActionFormClass
- The
DynaActionForm
implementationClass
which we will use to create new bean instances. - beanConfig - Variable in class org.apache.struts.action.DynaActionFormConfig
- beanConfig - Variable in class org.apache.struts.action.TestDynaActionFormClass
- The
FormBeanConfig
structure for the form bean we will be creating.
C
- clear() - Method in class org.apache.struts.action.ActionMessages
- Clear all messages recorded by this object.
- clear() - Static method in class org.apache.struts.action.DynaActionFormClass
- Deprecated. No longer need to Clear our cache of
DynaActionFormClass
instances. - config - Variable in class org.apache.struts.action.ActionServlet
- Comma-separated list of context-relative path(s) to our configuration resource(s) for the default module.
- config - Variable in class org.apache.struts.action.DynaActionFormClass
- The form bean configuration information for this class.
- config - Variable in class org.apache.struts.action.SecurePlugIn
- The application configuration for our owning sub-application.
- configDigester - Variable in class org.apache.struts.action.ActionServlet
- The Digester used to produce ModuleConfig objects from a Struts configuration file.
- contains(String, String) - Method in class org.apache.struts.action.DynaActionForm
- Indicates if the specified mapped property contain a value for the specified key value.
- convertNull - Variable in class org.apache.struts.action.ActionServlet
- The flag to request backwards-compatible conversions for form bean properties of the Java wrapper class types.
- countParameters(Map, String) - Static method in class org.apache.struts.action.TestActionRedirect
- Determine the number of values that are available for a specific parameter.
- createDynaActionFormClass(FormBeanConfig) - Static method in class org.apache.struts.action.DynaActionFormClass
- Return the
DynaActionFormClass
instance for the specified form bean configuration instance.
D
- DEFAULT_ENABLE - Static variable in class org.apache.struts.action.SecurePlugIn
- DEFAULT_HTTPS_PORT - Static variable in class org.apache.struts.action.SecurePlugIn
- DEFAULT_HTTP_PORT - Static variable in class org.apache.struts.action.SecurePlugIn
- DynaActionForm - class org.apache.struts.action.DynaActionForm.
- Specialized subclass of
ActionForm
that allows the creation of form beans with dynamic sets of properties, without requiring the developer to create a Java class for each type of form bean. - DynaActionForm() - Constructor for class org.apache.struts.action.DynaActionForm
- DynaActionFormClass - class org.apache.struts.action.DynaActionFormClass.
- Implementation of
DynaClass
forDynaActionForm
classes that allow developers to define ActionForms without having to individually code all of the classes. - DynaActionFormClass(FormBeanConfig) - Constructor for class org.apache.struts.action.DynaActionFormClass
- Construct a new
DynaActionFormClass
for the specified form bean configuration. - DynaActionFormConfig - class org.apache.struts.action.DynaActionFormConfig.
- DynaActionFormConfig(FormBeanConfig) - Constructor for class org.apache.struts.action.DynaActionFormConfig
- DynaActionFormMapping - class org.apache.struts.action.DynaActionFormMapping.
- DynaActionFormMapping(ModuleConfig) - Constructor for class org.apache.struts.action.DynaActionFormMapping
- dataSources - Variable in class org.apache.struts.action.ActionServlet
- The JDBC data sources that has been configured for this module, if any, keyed by the servlet context attribute under which they are stored.
- defaultLocale - Static variable in class org.apache.struts.action.Action
- Deprecated. Use Locale.getDefault directly. This will be removed after Struts 1.2.
- destroy() - Method in class org.apache.struts.action.ActionServlet
- Gracefully shut down this controller servlet, releasing any resources that were allocated at initialization.
- destroy() - Method in interface org.apache.struts.action.PlugIn
- Receive notification that our owning module is being shut down.
- destroy() - Method in class org.apache.struts.action.RequestProcessor
- Clean up in preparation for a shutdown of this application.
- destroy() - Method in class org.apache.struts.action.SecurePlugIn
- Remove stuff from the ServletContext (application).
- destroyConfigDigester() - Method in class org.apache.struts.action.ActionServlet
- Gracefully release any configDigester instance that we have created.
- destroyInternal() - Method in class org.apache.struts.action.ActionServlet
- Gracefully terminate use of the internal MessageResources.
- destroyModules() - Method in class org.apache.struts.action.ActionServlet
- Gracefully terminate use of any modules associated with this application (if any).
- doForward(String, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Do a forward to specified URI using a
RequestDispatcher
. - doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.ActionServlet
- Process an HTTP "GET" request.
- doInclude(String, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Do an include of specified URI using a
RequestDispatcher
. - doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.ActionServlet
- Process an HTTP "POST" request.
- dynaClass - Variable in class org.apache.struts.action.DynaActionForm
- The
DynaActionFormClass
with which we are associated. - dynaClass - Variable in class org.apache.struts.action.TestDynaActionFormClass
- The
DynaActionFormClass
to use for testing. - dynaForm - Variable in class org.apache.struts.action.TestDynaActionForm
- The basic
DynaActionForm
to use for testing. - dynaProperties - Static variable in class org.apache.struts.action.TestDynaActionFormClass
- The set of
FormPropertyConfig
objects to use when creating ourFormBeanConfig
. - dynaValues - Variable in class org.apache.struts.action.DynaActionForm
- The set of property values for this
DynaActionForm
, keyed by property name.
E
- ExceptionHandler - class org.apache.struts.action.ExceptionHandler.
- An ExceptionHandler is configured in the Struts
configuration file to handle a specific type of exception thrown
by an
Action.execute
method. - ExceptionHandler() - Constructor for class org.apache.struts.action.ExceptionHandler
- enable - Variable in class org.apache.struts.action.SecurePlugIn
- execute(ActionMapping, ActionForm, ServletRequest, ServletResponse) - Method in class org.apache.struts.action.Action
- Process the specified non-HTTP request, and create the corresponding non-HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.Action
- Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.
- execute(Exception, ExceptionConfig, ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.ExceptionHandler
- Handle the
Exception
.
F
- ForwardingActionForward - class org.apache.struts.action.ForwardingActionForward.
- A subclass of
ActionForward
that defaults theredirect
attribute tofalse
. - ForwardingActionForward() - Constructor for class org.apache.struts.action.ForwardingActionForward
- Construct a new instance with default values.
- ForwardingActionForward(String) - Constructor for class org.apache.struts.action.ForwardingActionForward
- Construct a new instance with the specified path.
- findFormBeanConfig(String) - Method in class org.apache.struts.action.DynaActionFormConfig
- findForward(String) - Method in class org.apache.struts.action.ActionMapping
- Find and return the
ForwardConfig
instance defining how forwarding to the specified logical name should be handled. - findForwards() - Method in class org.apache.struts.action.ActionMapping
- Return the logical names of all locally defined forwards for this mapping.
G
- GLOBAL_ERROR - Static variable in class org.apache.struts.action.ActionErrors
- Deprecated. Use ActionMessages.GLOBAL_MESSAGE instead. This will be removed after Struts 1.2.
- GLOBAL_MESSAGE - Static variable in class org.apache.struts.action.ActionMessages
- The "property name" marker to use for global messages, as opposed to those related to a specific property.
- generateToken(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Generate a new transaction token, to be used for enforcing a single request for a particular transaction.
- get() - Method in class org.apache.struts.action.ActionMessages
- Return the set of all recorded messages, without distinction by which property the messages are associated with.
- get(String) - Method in class org.apache.struts.action.ActionMessages
- Return the set of messages related to a specific property.
- get(String) - Method in class org.apache.struts.action.DynaActionForm
- Return the value of a simple property with the specified name.
- get(String, int) - Method in class org.apache.struts.action.DynaActionForm
- Return the value of an indexed property with the specified name.
- get(String, String) - Method in class org.apache.struts.action.DynaActionForm
- Return the value of a mapped property with the specified name,
or
null
if there is no value for the specified key. - getAppHttpPort(ServletContext) - Static method in class org.apache.struts.action.SecurePlugIn
- getAppHttpsPort(ServletContext) - Static method in class org.apache.struts.action.SecurePlugIn
- getAppSslExtEnable(ServletContext) - Static method in class org.apache.struts.action.SecurePlugIn
- getBeanClass() - Method in class org.apache.struts.action.DynaActionFormClass
- Return the implementation class we are using to construct new
instances, re-introspecting our org.apache.struts.config.FormBeanConfig if necessary
(that is, after being deserialized, since
beanClass
is marked transient). - getDataSource(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Return the default data source for the current module.
- getDataSource(HttpServletRequest, String) - Method in class org.apache.struts.action.Action
- Return the specified data source for the current module.
- getDynaClass() - Method in class org.apache.struts.action.DynaActionForm
- Return the
DynaClass
instance that describes the set of properties available for thisDynaBean
. - getDynaProperties() - Method in class org.apache.struts.action.DynaActionFormClass
- Return an array of
DynaProperty
s for the properties currently defined in thisDynaClass
. - getDynaProperty(String) - Method in class org.apache.struts.action.DynaActionForm
- Return the property descriptor for the specified property name.
- getDynaProperty(String) - Method in class org.apache.struts.action.DynaActionFormClass
- Return a property descriptor for the specified property, if it exists;
otherwise, return
null
. - getEnable() - Method in class org.apache.struts.action.SecurePlugIn
- getErrors(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Retrieves any existing errors placed in the request by previous actions.
- getHttpPort() - Method in class org.apache.struts.action.SecurePlugIn
- getHttpsPort() - Method in class org.apache.struts.action.SecurePlugIn
- getInputForward() - Method in class org.apache.struts.action.ActionMapping
- Create (if necessary) and return an ActionForward that
corresponds to the
input
property of this Action. - getInternal() - Method in class org.apache.struts.action.ActionServlet
- Return the
MessageResources
instance containing our internal message strings. - getInternal() - Method in class org.apache.struts.action.RequestProcessor
- Return the
MessageResources
instance containing our internal message strings. - getKey() - Method in class org.apache.struts.action.ActionMessage
- Get the message key for this message.
- getList() - Method in class org.apache.struts.action.ActionMessages.ActionMessageItem
- getLocale(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Return the user's currently selected Locale.
- getMap() - Method in class org.apache.struts.action.DynaActionForm
- Returns the
Map
containing the property values. - getMessages(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Retrieves any existing messages placed in the request by previous actions.
- getModuleConfig(HttpServletRequest) - Method in class org.apache.struts.action.ActionServlet
- Return the module configuration object for the currently selected module.
- getModuleConfig() - Method in class org.apache.struts.action.DynaActionFormMapping
- getMultipartRequestHandler() - Method in class org.apache.struts.action.ActionForm
- Return the
MultipartRequestHandler
for this form The reasoning behind this is to give form bean developers control over the lifecycle of their multipart requests through the use of thefinish
and/orrollback
methods ofMultipartRequestHandler
. - getName() - Method in class org.apache.struts.action.DynaActionFormClass
- Return the name of this
DynaClass
(analogous to thegetName()
method ofjava.lang.Class
DynaClass implementation class to support different dynamic classes, with different sets of properties. - getName() - Method in class org.apache.struts.action.DynaActionFormMapping
- getOrder() - Method in class org.apache.struts.action.ActionMessages.ActionMessageItem
- getOriginalPath() - Method in class org.apache.struts.action.ActionRedirect
- Get the original path without the parameters added at runtime.
- getParameterString() - Method in class org.apache.struts.action.ActionRedirect
- Forms the string containing the parameters passed onto this object thru calls to addParameter().
- getPath() - Method in class org.apache.struts.action.ActionRedirect
- Get the path for this object, including any parameters that may have been added at runtime.
- getProcessorForModule(ModuleConfig) - Method in class org.apache.struts.action.ActionServlet
- Returns the RequestProcessor for the given module or null if one does not exist.
- getProperty() - Method in class org.apache.struts.action.ActionMessages.ActionMessageItem
- getRequestProcessor(ModuleConfig) - Method in class org.apache.struts.action.ActionServlet
- Look up and return the RequestProcessor responsible for the specified module, creating a new one if necessary.
- getResources(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Return the default message resources for the current module.
- getResources(HttpServletRequest, String) - Method in class org.apache.struts.action.Action
- Return the specified message resources for the current module.
- getServlet() - Method in class org.apache.struts.action.Action
- Return the servlet instance to which we are attached.
- getServlet() - Method in class org.apache.struts.action.ActionForm
- Return the servlet instance to which we are attached.
- getServletContext() - Method in class org.apache.struts.action.RequestProcessor
- Return the
ServletContext
for the web application in which we are running. - getServletWrapper() - Method in class org.apache.struts.action.ActionForm
- Return the controller servlet instance to which we are attached.
- getString(String) - Method in class org.apache.struts.action.DynaActionForm
- Return the value of a
String
property with the specified name. - getStrings(String) - Method in class org.apache.struts.action.DynaActionForm
- Return the value of a
String[]
property with the specified name. - getSuite() - Static method in class org.apache.struts.action.TestActionRedirect
- getValues() - Method in class org.apache.struts.action.ActionMessage
- Get the replacement values for this message.
H
- handleConfigException(String, Exception) - Method in class org.apache.struts.action.ActionServlet
- Simplifies exception handling in the
parseModuleConfigFile
method. - httpPort - Variable in class org.apache.struts.action.SecurePlugIn
- httpsPort - Variable in class org.apache.struts.action.SecurePlugIn
I
- INCLUDE_PATH_INFO - Static variable in class org.apache.struts.action.RequestProcessor
- The request attribute under which the path information is stored for
processing during a
RequestDispatcher.include
call. - INCLUDE_SERVLET_PATH - Static variable in class org.apache.struts.action.RequestProcessor
- The request attribute under which the servlet path information is stored
for processing during a
RequestDispatcher.include
call. - InvalidCancelException - exception org.apache.struts.action.InvalidCancelException.
- Thrown when a token generated by the Cancel tag is found in the request, but the cancellable property for the Action Mapping is not set.
- InvalidCancelException() - Constructor for class org.apache.struts.action.InvalidCancelException
- Default constructor.
- InvalidCancelException(String) - Constructor for class org.apache.struts.action.InvalidCancelException
- Construct the exception with the specified message.
- iCount - Variable in class org.apache.struts.action.ActionMessages
- The current number of the property/key being added.
- iOrder - Variable in class org.apache.struts.action.ActionMessages.ActionMessageItem
- The position in the list of messages.
- init() - Method in class org.apache.struts.action.ActionServlet
- Initialize this servlet.
- init(ActionServlet, ModuleConfig) - Method in interface org.apache.struts.action.PlugIn
- Receive notification that the specified module is being started up.
- init(ActionServlet, ModuleConfig) - Method in class org.apache.struts.action.RequestProcessor
- Initialize this request processor instance.
- init(ActionServlet, ModuleConfig) - Method in class org.apache.struts.action.SecurePlugIn
- Initialize some instance variables and the ServletContext (application) to make this PlugIn's properties accessible from the whole app.
- initConfigDigester() - Method in class org.apache.struts.action.ActionServlet
- Create (if needed) and return a new
Digester
instance that has been initialized to process Struts module configuration files and configure a correspondingModuleConfig
object (which must be pushed on to the evaluation stack before parsing begins). - initInternal() - Method in class org.apache.struts.action.ActionServlet
- Initialize our internal MessageResources bundle.
- initModuleConfig(String, String) - Method in class org.apache.struts.action.ActionServlet
- Initialize the module configuration information for the specified module.
- initModuleConfigFactory() - Method in class org.apache.struts.action.ActionServlet
- Initialize the factory used to create the module configuration.
- initModuleDataSources(ModuleConfig) - Method in class org.apache.struts.action.ActionServlet
- Initialize the data sources for the specified module.
- initModuleMessageResources(ModuleConfig) - Method in class org.apache.struts.action.ActionServlet
- Initialize the application
MessageResources
for the specified module. - initModulePlugIns(ModuleConfig) - Method in class org.apache.struts.action.ActionServlet
- Initialize the plug ins for the specified module.
- initModulePrefixes(ServletContext) - Method in class org.apache.struts.action.ActionServlet
- Saves a String[] of module prefixes in the ServletContext under Globals.MODULE_PREFIXES_KEY.
- initOther() - Method in class org.apache.struts.action.ActionServlet
- Initialize other global characteristics of the controller servlet.
- initServlet() - Method in class org.apache.struts.action.ActionServlet
- Initialize the servlet mapping under which our controller servlet is being accessed.
- initialize(ActionMapping) - Method in class org.apache.struts.action.DynaActionForm
- Initialize all bean properties to their initial values, as specified
in the org.apache.struts.config.FormPropertyConfig elements associated with the
definition of this
DynaActionForm
. - initialize(FormBeanConfig) - Method in class org.apache.struts.action.DynaActionForm
- initializeParameters() - Method in class org.apache.struts.action.ActionRedirect
- Initializes the internal objects used to hold parameter values.
- internal - Variable in class org.apache.struts.action.ActionServlet
- The resources object for our internal resources.
- internalModuleRelativeForward(String, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Do a module relative forward to specified URI using request dispatcher.
- internalModuleRelativeInclude(String, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Do a module relative include to specified URI using request dispatcher.
- internalName - Variable in class org.apache.struts.action.ActionServlet
- The Java base name of our internal resources.
- introspect(FormBeanConfig) - Method in class org.apache.struts.action.DynaActionFormClass
- Introspect our form bean configuration to identify the supported properties.
- isAccessed() - Method in class org.apache.struts.action.ActionMessages
- Returns
true
if theget()
orget(String)
methods are called. - isCancelled(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Returns
true
if the current form's cancel button was pressed. - isDynaAssignable(Class, Class) - Method in class org.apache.struts.action.DynaActionForm
- Indicates if an object of the source class is assignable to the destination class.
- isEmpty() - Method in class org.apache.struts.action.ActionMessages
- Return
true
if there are no messages recorded in this collection, orfalse
otherwise. - isResource() - Method in class org.apache.struts.action.ActionMessage
- Indicate whether the key is taken to be as a bundle key [true] or literal value [false].
- isTokenValid(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Return
true
if there is a transaction token stored in the user's current session, and the value submitted as a request parameter with this action matches it. - isTokenValid(HttpServletRequest, boolean) - Method in class org.apache.struts.action.Action
- Return
true
if there is a transaction token stored in the user's current session, and the value submitted as a request parameter with this action matches it. - isValidating() - Method in class org.apache.struts.action.ActionServlet
- Check the status of the
validating
initialization parameter.
K
- key - Variable in class org.apache.struts.action.ActionMessage
- The message key for this message.
L
- list - Variable in class org.apache.struts.action.ActionMessages.ActionMessageItem
- The list of
ActionMessage
s. - log - Static variable in class org.apache.struts.action.ActionMapping
- Commons Logging instance.
- log - Static variable in class org.apache.struts.action.ActionRedirect
- Commons logging instance.
- log - Static variable in class org.apache.struts.action.ActionServlet
- Commons Logging instance.
- log - Static variable in class org.apache.struts.action.ExceptionHandler
- Commons logging instance.
- log - Static variable in class org.apache.struts.action.RequestProcessor
- Commons Logging instance.
- log(String) - Method in class org.apache.struts.action.RequestProcessor
- Deprecated. Use commons-logging instead. This will be removed in a release after Struts 1.2.
- log(String, Throwable) - Method in class org.apache.struts.action.RequestProcessor
- Deprecated. Use commons-logging instead. This will be removed in a release after Struts 1.2.
- log - Variable in class org.apache.struts.action.TestDynaActionForm
- logException(Exception) - Method in class org.apache.struts.action.ExceptionHandler
- Logs the
Exception
using commons-logging.
M
- main(String[]) - Static method in class org.apache.struts.action.TestActionMessage
- Start the tests.
- main(String[]) - Static method in class org.apache.struts.action.TestActionMessages
- Start the tests.
- main(String[]) - Static method in class org.apache.struts.action.TestActionRedirect
- main(String[]) - Static method in class org.apache.struts.action.TestActionServlet
- Start the tests.
- main(String[]) - Static method in class org.apache.struts.action.TestDynaActionForm
- Start the tests.
- main(String[]) - Static method in class org.apache.struts.action.TestDynaActionFormClass
- Start the tests.
- mapping - Variable in class org.apache.struts.action.TestDynaActionForm
- Dummy ActionMapping for calls to reset() and validate().
- messages - Variable in class org.apache.struts.action.ActionMessages
- The accumulated set of
ActionMessage
objects (represented as an ArrayList) for each property, keyed by property name. - messages - Static variable in class org.apache.struts.action.ExceptionHandler
- The message resources for this package.
- moduleConfig - Variable in class org.apache.struts.action.RequestProcessor
- The
ModuleConfiguration
with which we are associated. - moduleConfig - Variable in class org.apache.struts.action.TestDynaActionForm
- Dummy ModuleConfig for calls to reset() and validate().
- msg1 - Variable in class org.apache.struts.action.TestActionMessages
- msg2 - Variable in class org.apache.struts.action.TestActionMessages
- msg3 - Variable in class org.apache.struts.action.TestActionMessages
- msg4 - Variable in class org.apache.struts.action.TestActionMessages
- msg5 - Variable in class org.apache.struts.action.TestActionMessages
- multipartRequestHandler - Variable in class org.apache.struts.action.ActionForm
- The MultipartRequestHandler for this form, can be
null
.
N
- name - Variable in class org.apache.struts.action.DynaActionFormClass
- The "dynamic class name" for this
DynaClass
. - newInstance() - Method in class org.apache.struts.action.DynaActionFormClass
- Instantiate and return a new DynaActionForm instance,
associated with this
DynaActionFormClass
.
O
- org.apache.struts.action - package org.apache.struts.action
P
- PlugIn - interface org.apache.struts.action.PlugIn.
- A PlugIn is a configuration wrapper for a
module-specific resource or service that needs to be notified about
application startup and application shutdown events (corresponding to when
the container calls
init
anddestroy
on the corresponding ActionServlet instance). - parameterValues - Variable in class org.apache.struts.action.ActionRedirect
- Holds the redirect parameters.
- parseModuleConfigFile(Digester, String) - Method in class org.apache.struts.action.ActionServlet
- Parses one module config file.
- process(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.ActionServlet
- Perform the standard request processing for this request, and create the corresponding response.
- process(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Process an
HttpServletRequest
and create the correspondingHttpServletResponse
or dispatch to another resource. - processActionCreate(HttpServletRequest, HttpServletResponse, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Return an
Action
instance that will be used to process the current request, creating a new one if necessary. - processActionForm(HttpServletRequest, HttpServletResponse, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Retrieve and return the
ActionForm
associated with this mapping, creating and retaining one if necessary. - processActionPerform(HttpServletRequest, HttpServletResponse, Action, ActionForm, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Ask the specified
Action
instance to handle this request. - processCachedMessages(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Removes any
ActionMessages
object stored in the session underGlobals.MESSAGE_KEY
andGlobals.ERROR_KEY
if the messages'isAccessed
method returns true. - processContent(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Set the default content type (with optional character encoding) for all responses if requested.
- processException(HttpServletRequest, HttpServletResponse, Exception, ActionForm, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Ask our exception handler to handle the exception.
- processForward(HttpServletRequest, HttpServletResponse, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Process a forward requested by this mapping (if any).
- processForwardConfig(HttpServletRequest, HttpServletResponse, ForwardConfig) - Method in class org.apache.struts.action.RequestProcessor
- Forward or redirect to the specified destination, by the specified mechanism.
- processInclude(HttpServletRequest, HttpServletResponse, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Process an include requested by this mapping (if any).
- processLocale(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Automatically select a
Locale
for the current user, if requested. - processMapping(HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.action.RequestProcessor
- Select the mapping used to process the selection path for this request.
- processMultipart(HttpServletRequest) - Method in class org.apache.struts.action.RequestProcessor
- If this is a multipart request, wrap it with a special wrapper.
- processNoCache(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Set the no-cache headers for all responses, if requested.
- processPath(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Identify and return the path component (from the request URI) that
we will use to select an
ActionMapping
with which to dispatch. - processPopulate(HttpServletRequest, HttpServletResponse, ActionForm, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Populate the properties of the specified
ActionForm
instance from the request parameters included with this request. - processPreprocess(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- General-purpose preprocessing hook that can be overridden as required by subclasses.
- processPreprocess(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.SecureRequestProcessor
- Override of the base class's processPreprocess() method, delegates to the superclass method at the end
- processPreprocess(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.SecureTilesRequestProcessor
- Override of the base class's processPreprocess() method, delegates to the superclass method at the end
- processRoles(HttpServletRequest, HttpServletResponse, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- If this action is protected by security roles, make sure that the current user possesses at least one of them.
- processValidate(HttpServletRequest, HttpServletResponse, ActionForm, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- If this request was not cancelled, and the request's
ActionMapping has not disabled validation, call the
validate
method of the specified ActionForm, and forward to the input path if there were any errors. - processor - Variable in class org.apache.struts.action.ActionServlet
- The
RequestProcessor
instance we will use to process all incoming requests. - properties() - Method in class org.apache.struts.action.ActionMessages
- Return the set of property names for which at least one message has been recorded.
- properties - Variable in class org.apache.struts.action.DynaActionFormClass
- The set of dynamic properties that are part of this DynaClass.
- properties - Static variable in class org.apache.struts.action.TestDynaActionForm
- The set of property names we expect to have returned when calling
getDynaProperties()
. - propertiesMap - Variable in class org.apache.struts.action.DynaActionFormClass
- The set of dynamic properties that are part of this
DynaClass
, keyed by the property name. - property - Variable in class org.apache.struts.action.ActionMessages.ActionMessageItem
- The property associated with
ActionMessage
.
R
- RedirectingActionForward - class org.apache.struts.action.RedirectingActionForward.
- A subclass of ActionForward that defaults the
redirect
attribute totrue
. - RedirectingActionForward() - Constructor for class org.apache.struts.action.RedirectingActionForward
- Construct a new instance with default values.
- RedirectingActionForward(String) - Constructor for class org.apache.struts.action.RedirectingActionForward
- Construct a new instance with the specified path.
- RequestActionMapping - class org.apache.struts.action.RequestActionMapping.
- Subclass of
ActionMapping
that defaults the form bean scope torequest
. - RequestActionMapping() - Constructor for class org.apache.struts.action.RequestActionMapping
- Construct a new instance of this class with the desired default form bean scope.
- RequestProcessor - class org.apache.struts.action.RequestProcessor.
- RequestProcessor contains the processing logic that the ActionServlet performs as it receives each servlet request from the container.
- RequestProcessor() - Constructor for class org.apache.struts.action.RequestProcessor
- registrations - Variable in class org.apache.struts.action.ActionServlet
- The set of public identifiers, and corresponding resource names, for the versions of the configuration file DTDs that we know about.
- remove(String, String) - Method in class org.apache.struts.action.DynaActionForm
- Remove any existing value for the specified key on the specified mapped property.
- reset(ActionMapping, ServletRequest) - Method in class org.apache.struts.action.ActionForm
- Reset all bean properties to their default state.
- reset(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.action.ActionForm
- Reset bean properties to their default state, as needed.
- reset(ActionMapping, ServletRequest) - Method in class org.apache.struts.action.DynaActionForm
- Reset bean properties to their default state, as needed.
- reset(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.action.DynaActionForm
- Reset bean properties to their default state, as needed.
- resetToken(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Reset the saved transaction token in the user's session.
- resource - Variable in class org.apache.struts.action.ActionMessage
- Indicates whether the key is taken to be as a bundle key [true] or literal value [false].
S
- SECURE_PLUGIN - Static variable in class org.apache.struts.action.SecurePlugIn
- SecurePlugIn - class org.apache.struts.action.SecurePlugIn.
- SecurePlugIn() - Constructor for class org.apache.struts.action.SecurePlugIn
- SecureRequestProcessor - class org.apache.struts.action.SecureRequestProcessor.
- SecureRequestProcessor() - Constructor for class org.apache.struts.action.SecureRequestProcessor
- SecureTilesRequestProcessor - class org.apache.struts.action.SecureTilesRequestProcessor.
- SecureTilesRequestProcessor() - Constructor for class org.apache.struts.action.SecureTilesRequestProcessor
- SessionActionMapping - class org.apache.struts.action.SessionActionMapping.
- Subclass of
ActionMapping
that defaults the form bean scope tosession
. - SessionActionMapping() - Constructor for class org.apache.struts.action.SessionActionMapping
- Construct a new instance of this class with the desired default form bean scope.
- saveErrors(HttpServletRequest, ActionErrors) - Method in class org.apache.struts.action.Action
- Deprecated. Use saveErrors(HttpServletRequest, ActionMessages) instead. This will be removed after Struts 1.2.
- saveErrors(HttpServletRequest, ActionMessages) - Method in class org.apache.struts.action.Action
- Save the specified error messages keys into the appropriate request attribute for use by the <html:errors> tag, if any messages are required.
- saveErrors(HttpSession, ActionMessages) - Method in class org.apache.struts.action.Action
- Save the specified error messages keys into the appropriate session attribute for use by the <html:messages> tag (if messages="false") or <html:errors>, if any error messages are required.
- saveMessages(HttpServletRequest, ActionMessages) - Method in class org.apache.struts.action.Action
- Save the specified messages keys into the appropriate request attribute for use by the <html:messages> tag (if messages="true" is set), if any messages are required.
- saveMessages(HttpSession, ActionMessages) - Method in class org.apache.struts.action.Action
- Save the specified messages keys into the appropriate session attribute for use by the <html:messages> tag (if messages="true" is set), if any messages are required.
- saveToken(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Save a new transaction token in the user's current session, creating a new session if necessary.
- servlet - Variable in class org.apache.struts.action.Action
- The servlet to which we are attached.
- servlet - Variable in class org.apache.struts.action.ActionForm
- The servlet instance to which we are attached.
- servlet - Variable in class org.apache.struts.action.ActionServletWrapper
- The servlet instance to which we are attached.
- servlet - Variable in class org.apache.struts.action.RequestProcessor
- The servlet with which we are associated.
- servlet - Variable in class org.apache.struts.action.SecurePlugIn
- The ActionServlet owning this application.
- servletMapping - Variable in class org.apache.struts.action.ActionServlet
- The URL pattern to which we are mapped in our web application deployment descriptor.
- servletName - Variable in class org.apache.struts.action.ActionServlet
- The servlet name under which we are registered in our web application deployment descriptor.
- set(String, Object) - Method in class org.apache.struts.action.DynaActionForm
- Set the value of a simple property with the specified name.
- set(String, int, Object) - Method in class org.apache.struts.action.DynaActionForm
- Set the value of an indexed property with the specified name.
- set(String, String, Object) - Method in class org.apache.struts.action.DynaActionForm
- Set the value of a mapped property with the specified name.
- setDynaActionFormClass(DynaActionFormClass) - Method in class org.apache.struts.action.DynaActionForm
- Set the
DynaActionFormClass
instance with which we are associated. - setEnable(String) - Method in class org.apache.struts.action.SecurePlugIn
- setHttpPort(String) - Method in class org.apache.struts.action.SecurePlugIn
- setHttpsPort(String) - Method in class org.apache.struts.action.SecurePlugIn
- setList(List) - Method in class org.apache.struts.action.ActionMessages.ActionMessageItem
- setLocale(HttpServletRequest, Locale) - Method in class org.apache.struts.action.Action
- Set the user's currently selected
Locale
into theirHttpSession
. - setMultipartRequestHandler(MultipartRequestHandler) - Method in class org.apache.struts.action.ActionForm
- Set the Handler provides to use in dealing with file uploads.
- setOrder(int) - Method in class org.apache.struts.action.ActionMessages.ActionMessageItem
- setProperty(String) - Method in class org.apache.struts.action.ActionMessages.ActionMessageItem
- setServlet(ActionServlet) - Method in class org.apache.struts.action.Action
- Set the servlet instance to which we are attached (if
servlet
is non-null), or release any allocated resources (ifservlet
is null). - setServlet(ActionServlet) - Method in class org.apache.struts.action.ActionForm
- Set the servlet instance to which we are attached (if
servlet
is non-null), or release any allocated resources (ifservlet
is null). - setServletFor(MultipartRequestHandler) - Method in class org.apache.struts.action.ActionServletWrapper
- Set servlet to a
MultipartRequestHandler
. - setUp() - Method in class org.apache.struts.action.TestActionMessage
- setUp() - Method in class org.apache.struts.action.TestActionMessages
- setUp() - Method in class org.apache.struts.action.TestDynaActionForm
- setUp() - Method in class org.apache.struts.action.TestDynaActionFormClass
- setupComplexProperties() - Method in class org.apache.struts.action.TestDynaActionForm
- Set up the complex properties that cannot be configured from the initial value expression.
- size() - Method in class org.apache.struts.action.ActionMessages
- Return the number of messages recorded for all properties (including global messages).
- size(String) - Method in class org.apache.struts.action.ActionMessages
- Return the number of messages associated with the specified property.
- storeException(HttpServletRequest, String, ActionError, ActionForward, String) - Method in class org.apache.struts.action.ExceptionHandler
- Deprecated. Use storeException(HttpServletRequest, String, ActionMessage, ActionForward, String) instead. This will be removed after Struts 1.2.
- storeException(HttpServletRequest, String, ActionMessage, ActionForward, String) - Method in class org.apache.struts.action.ExceptionHandler
- Default implementation for handling an
ActionMessage
generated from anException
duringAction
delegation. - suite() - Static method in class org.apache.struts.action.TestActionMessage
- suite() - Static method in class org.apache.struts.action.TestActionMessages
- suite() - Static method in class org.apache.struts.action.TestActionServlet
- suite() - Static method in class org.apache.struts.action.TestDynaActionForm
- suite() - Static method in class org.apache.struts.action.TestDynaActionFormClass
T
- TestActionMessage - class org.apache.struts.action.TestActionMessage.
- Unit tests for the
org.apache.struts.action.ActionMessage
class. - TestActionMessage(String) - Constructor for class org.apache.struts.action.TestActionMessage
- Defines the testcase name for JUnit.
- TestActionMessages - class org.apache.struts.action.TestActionMessages.
- Unit tests for the
org.apache.struts.action.ActionMessages
class. - TestActionMessages(String) - Constructor for class org.apache.struts.action.TestActionMessages
- Defines the testcase name for JUnit.
- TestActionRedirect - class org.apache.struts.action.TestActionRedirect.
- Unit tests for the ActionRedirect class.
- TestActionRedirect(String) - Constructor for class org.apache.struts.action.TestActionRedirect
- TestActionServlet - class org.apache.struts.action.TestActionServlet.
- Suite of unit tests for the
org.apache.struts.action.ActionServlet
class. - TestActionServlet(String) - Constructor for class org.apache.struts.action.TestActionServlet
- Defines the testcase name for JUnit.
- TestDynaActionForm - class org.apache.struts.action.TestDynaActionForm.
- Suite of unit tests for the
org.apache.struts.action.DynaActionForm
class. - TestDynaActionForm(String) - Constructor for class org.apache.struts.action.TestDynaActionForm
- Defines the testcase name for JUnit.
- TestDynaActionFormClass - class org.apache.struts.action.TestDynaActionFormClass.
- Suite of unit tests for the
org.apache.struts.action.DynaActionFormClass
class. - TestDynaActionFormClass(String) - Constructor for class org.apache.struts.action.TestDynaActionFormClass
- Defines the testcase name for JUnit.
- tearDown() - Method in class org.apache.struts.action.TestActionMessage
- tearDown() - Method in class org.apache.struts.action.TestActionMessages
- tearDown() - Method in class org.apache.struts.action.TestDynaActionForm
- tearDown() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testActionMessageWithAStringValue() - Method in class org.apache.struts.action.TestActionMessage
- testActionMessageWithNoValue() - Method in class org.apache.struts.action.TestActionMessage
- testActionRedirectAddParameter() - Method in class org.apache.struts.action.TestActionRedirect
- Test all addParameter methods accepting different data types.
- testActionRedirectAddSameNameParameter() - Method in class org.apache.struts.action.TestActionRedirect
- Test adding parameters with the same name.
- testActionRedirectFromExistingForward() - Method in class org.apache.struts.action.TestActionRedirect
- Test creating an ActionRedirect which copies its configuration from an existing ActionForward.
- testActionRedirectRedirectFlag() - Method in class org.apache.struts.action.TestActionRedirect
- Check that the redirect flag is set.
- testAddMessages() - Method in class org.apache.struts.action.TestActionMessages
- Tests adding an ActionMessages object to an ActionMessages object.
- testBeanCreate() - Method in class org.apache.struts.action.TestDynaActionForm
- testClassCreate() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigAdd() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigCreate() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigDuplicate() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigInitialValues() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigProperties() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigRemove() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testEmpty() - Method in class org.apache.struts.action.TestActionMessages
- testGetDescriptorArguments() - Method in class org.apache.struts.action.TestDynaActionForm
- Corner cases on getDynaProperty invalid arguments.
- testGetDescriptorBase(String, Class) - Method in class org.apache.struts.action.TestDynaActionForm
- Base for testGetDescriptorXxxxx() series of tests.
- testGetDescriptorBoolean() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive getDynaProperty on property
booleanProperty
. - testGetDescriptorDouble() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive getDynaProperty on property
doubleProperty
. - testGetDescriptorFloat() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive getDynaProperty on property
floatProperty
. - testGetDescriptorInt() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive getDynaProperty on property
intProperty
. - testGetDescriptorLong() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive getDynaProperty on property
longProperty
. - testGetDescriptorSecond() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive getDynaProperty on property
booleanSecond
that uses an "is" method as the getter. - testGetDescriptorShort() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive getDynaProperty on property
shortProperty
. - testGetDescriptorString() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive getDynaProperty on property
stringProperty
. - testGetDescriptors() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive test for getDynaPropertys().
- testGetForAProperty() - Method in class org.apache.struts.action.TestActionMessages
- testGetIndexedArguments() - Method in class org.apache.struts.action.TestDynaActionForm
- Corner cases on getIndexedProperty invalid arguments.
- testGetIndexedValues() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive and negative tests on getIndexedProperty valid arguments.
- testGetMappedArguments() - Method in class org.apache.struts.action.TestDynaActionForm
- Corner cases on getMappedProperty invalid arguments.
- testGetMappedValues() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive and negative tests on getMappedProperty valid arguments.
- testGetSimpleArguments() - Method in class org.apache.struts.action.TestDynaActionForm
- Corner cases on getSimpleProperty invalid arguments.
- testGetSimpleBoolean() - Method in class org.apache.struts.action.TestDynaActionForm
- Test getSimpleProperty on a boolean property.
- testGetSimpleDouble() - Method in class org.apache.struts.action.TestDynaActionForm
- Test getSimpleProperty on a double property.
- testGetSimpleFloat() - Method in class org.apache.struts.action.TestDynaActionForm
- Test getSimpleProperty on a float property.
- testGetSimpleInt() - Method in class org.apache.struts.action.TestDynaActionForm
- Test getSimpleProperty on a int property.
- testGetSimpleLong() - Method in class org.apache.struts.action.TestDynaActionForm
- Test getSimpleProperty on a long property.
- testGetSimpleShort() - Method in class org.apache.struts.action.TestDynaActionForm
- Test getSimpleProperty on a short property.
- testGetSimpleString() - Method in class org.apache.struts.action.TestDynaActionForm
- Test getSimpleProperty on a String property.
- testGetWithNoProperty() - Method in class org.apache.struts.action.TestActionMessages
- testIndexedInitialize() - Method in class org.apache.struts.action.TestDynaActionForm
- testInitDestroyInternal() - Method in class org.apache.struts.action.TestActionServlet
- Verify that we can initialize and destroy our internal message resources object.
- testMappedContains() - Method in class org.apache.struts.action.TestDynaActionForm
- Test
contains()
method for mapped properties. - testMappedRemove() - Method in class org.apache.struts.action.TestDynaActionForm
- Test
remove()
method for mapped properties. - testNotEmpty() - Method in class org.apache.struts.action.TestActionMessages
- testScalarInitialize() - Method in class org.apache.struts.action.TestDynaActionForm
- testSetIndexedArguments() - Method in class org.apache.struts.action.TestDynaActionForm
- Corner cases on setIndexedProperty invalid arguments.
- testSetIndexedValues() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive and negative tests on setIndexedProperty valid arguments.
- testSetMappedValues() - Method in class org.apache.struts.action.TestDynaActionForm
- Positive and negative tests on setMappedProperty valid arguments.
- testSetSimpleBoolean() - Method in class org.apache.struts.action.TestDynaActionForm
- Test setSimpleProperty on a boolean property.
- testSetSimpleDouble() - Method in class org.apache.struts.action.TestDynaActionForm
- Test setSimpleProperty on a double property.
- testSetSimpleFloat() - Method in class org.apache.struts.action.TestDynaActionForm
- Test setSimpleProperty on a float property.
- testSetSimpleInt() - Method in class org.apache.struts.action.TestDynaActionForm
- Test setSimpleProperty on a int property.
- testSetSimpleLong() - Method in class org.apache.struts.action.TestDynaActionForm
- Test setSimpleProperty on a long property.
- testSetSimpleShort() - Method in class org.apache.struts.action.TestDynaActionForm
- Test setSimpleProperty on a short property.
- testSetSimpleString() - Method in class org.apache.struts.action.TestDynaActionForm
- Test setSimpleProperty on a String property.
- testSizeAndEmptyAfterClear() - Method in class org.apache.struts.action.TestActionMessages
- testSizeWithManyProperties() - Method in class org.apache.struts.action.TestActionMessages
- testSizeWithOneProperty() - Method in class org.apache.struts.action.TestActionMessages
- toString() - Method in class org.apache.struts.action.ActionMessage
- Returns a String in the format: key[value1, value2, etc].
- toString() - Method in class org.apache.struts.action.ActionMessages.ActionMessageItem
- toString() - Method in class org.apache.struts.action.ActionMessages
- Returns a String representation of this ActionMessages' property name=message list mapping.
- toString() - Method in class org.apache.struts.action.ActionRedirect
- Return a string description of this object.
- toString() - Method in class org.apache.struts.action.DynaActionForm
- Render a String representation of this object.
- toString() - Method in class org.apache.struts.action.DynaActionFormClass
- Render a
String
representation of this object. - token - Static variable in class org.apache.struts.action.Action
- An instance of
TokenProcessor
to use for token functionality.
V
- validate(ActionMapping, ServletRequest) - Method in class org.apache.struts.action.ActionForm
- Validate the properties that have been set for this non-HTTP request,
and return an
ActionErrors
object that encapsulates any validation errors that have been found. - validate(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.action.ActionForm
- Validate the properties that have been set for this HTTP request,
and return an
ActionErrors
object that encapsulates any validation errors that have been found. - values - Variable in class org.apache.struts.action.ActionMessage
- The replacement values for this mesasge.
A B C D E F G H I K L M N O P R S T V
|
|||||||||
Home >> All >> org >> apache >> struts >> [ action overview ] | PREV NEXT |