|
|||||||||
| 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
ActionMessageinstead, 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
ActionErrorsobject. - ActionErrors(ActionErrors) - Constructor for class org.apache.struts.action.ActionErrors
- Create an
ActionErrorsobject 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.forwardorHttpServletResponse.sendRedirectto, as a result of processing activities of anActionclass. - 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
pathandredirectflag. - ActionForward(String, String, boolean) - Constructor for class org.apache.struts.action.ActionForward
- Construct a new instance with the specified
name,pathandredirectflag. - 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 particularActionclass. - 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
validatemethod 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
ActionMessagesobject. - ActionMessages(ActionMessages) - Constructor for class org.apache.struts.action.ActionMessages
- Create an
ActionMessagesobject 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
servletproperty. - 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
Actioninstances that have been created and initialized, keyed by the fully qualified Java class name of theActionclass. - 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
ActionMessagesobject 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
rulesetsinit 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
paramValueunder theparamNamekey.
B
- beanClass - Variable in class org.apache.struts.action.DynaActionFormClass
- The
DynaActionFormimplementationClasswhich 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
FormBeanConfigstructure 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
DynaActionFormClassinstances. - 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
DynaActionFormClassinstance 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
ActionFormthat 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
DynaClassforDynaActionFormclasses 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
DynaActionFormClassfor 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
DynaActionFormClasswith which we are associated. - dynaClass - Variable in class org.apache.struts.action.TestDynaActionFormClass
- The
DynaActionFormClassto use for testing. - dynaForm - Variable in class org.apache.struts.action.TestDynaActionForm
- The basic
DynaActionFormto use for testing. - dynaProperties - Static variable in class org.apache.struts.action.TestDynaActionFormClass
- The set of
FormPropertyConfigobjects 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.executemethod. - 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
ActionForwardthat defaults theredirectattribute 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
ForwardConfiginstance 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
nullif 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
beanClassis 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
DynaClassinstance that describes the set of properties available for thisDynaBean. - getDynaProperties() - Method in class org.apache.struts.action.DynaActionFormClass
- Return an array of
DynaPropertys 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
inputproperty of this Action. - getInternal() - Method in class org.apache.struts.action.ActionServlet
- Return the
MessageResourcesinstance containing our internal message strings. - getInternal() - Method in class org.apache.struts.action.RequestProcessor
- Return the
MessageResourcesinstance 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
Mapcontaining 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
MultipartRequestHandlerfor this form The reasoning behind this is to give form bean developers control over the lifecycle of their multipart requests through the use of thefinishand/orrollbackmethods ofMultipartRequestHandler. - getName() - Method in class org.apache.struts.action.DynaActionFormClass
- Return the name of this
DynaClass(analogous to thegetName()method ofjava.lang.ClassDynaClass 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
ServletContextfor 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
Stringproperty 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
parseModuleConfigFilemethod. - 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.includecall. - 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.includecall. - 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
Digesterinstance that has been initialized to process Struts module configuration files and configure a correspondingModuleConfigobject (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
MessageResourcesfor 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
trueif theget()orget(String)methods are called. - isCancelled(HttpServletRequest) - Method in class org.apache.struts.action.Action
- Returns
trueif 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
trueif there are no messages recorded in this collection, orfalseotherwise. - 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
trueif 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
trueif 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
validatinginitialization 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
ActionMessages. - 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
Exceptionusing 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
ActionMessageobjects (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
ModuleConfigurationwith 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
initanddestroyon 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
HttpServletRequestand create the correspondingHttpServletResponseor dispatch to another resource. - processActionCreate(HttpServletRequest, HttpServletResponse, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Return an
Actioninstance 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
ActionFormassociated 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
Actioninstance to handle this request. - processCachedMessages(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.action.RequestProcessor
- Removes any
ActionMessagesobject stored in the session underGlobals.MESSAGE_KEYandGlobals.ERROR_KEYif the messages'isAccessedmethod 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
Localefor 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
ActionMappingwith which to dispatch. - processPopulate(HttpServletRequest, HttpServletResponse, ActionForm, ActionMapping) - Method in class org.apache.struts.action.RequestProcessor
- Populate the properties of the specified
ActionForminstance 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
validatemethod 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
RequestProcessorinstance 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
redirectattribute 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
ActionMappingthat 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
ActionMappingthat 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.