Uses of Class
org.apache.struts.action.ActionForm
Packages that use ActionForm
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
Configurable commands that may be placed within the
request processor.
Contains generic commands.
Commands which are particular to servlet processing.
This package provides objects that encapsulate access to
the request and session-scoped resources to service
command processing.
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file. The actions package provides special adapters between the incoming HTTP
request and the corresponding business logic.
The scripting package is the core of the Struts Scripting framework,
which builds on Struts Action to allow Struts Actions be written
with the scripting language of your choice.
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
The validator package provides a series of classes to validate
ActionForm type of input.-
Uses of ActionForm in org.apache.struts.action
Subclasses of ActionForm in org.apache.struts.actionModifier and TypeClassDescriptionclassSpecialized subclass ofActionFormthat 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.Methods in org.apache.struts.action that return ActionFormModifier and TypeMethodDescriptionprotected ActionFormRequestProcessor.processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) Retrieve and return theActionFormassociated with this mapping, creating and retaining one if necessary.Methods in org.apache.struts.action with parameters of type ActionFormModifier and TypeMethodDescriptionAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 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.Action.execute(ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response) 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.ExceptionHandler.execute(Exception ex, ExceptionConfig ae, ActionMapping mapping, ActionForm formInstance, HttpServletRequest request, HttpServletResponse response) Handle the Exception.protected voidExceptionHandler.handleCommittedResponse(Exception ex, ExceptionConfig config, ActionMapping mapping, ActionForm formInstance, HttpServletRequest request, HttpServletResponse response, ActionForward actionForward) Attempt to give good information when the response has already been committed when the exception was thrown.protected ActionForwardRequestProcessor.processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) Ask the specifiedActioninstance to handle this request.protected ActionForwardRequestProcessor.processException(HttpServletRequest request, HttpServletResponse response, Exception exception, ActionForm form, ActionMapping mapping) Ask our exception handler to handle the exception.protected voidRequestProcessor.processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) Populate the properties of the specifiedActionForminstance from the request parameters included with this request.protected booleanRequestProcessor.processValidate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) If this request was not cancelled, and the request'sActionMappinghas not disabled validation, call thevalidatemethod of the specifiedActionForm, and forward to the input path if there were any errors. -
Uses of ActionForm in org.apache.struts.chain.commands
Methods in org.apache.struts.chain.commands with parameters of type ActionFormModifier and TypeMethodDescriptionprotected abstract ForwardConfigAbstractExecuteAction.execute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) Execute the specifiedAction, and return the resultingForwardConfig.protected voidAbstractPopulateActionForm.handleCancel(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Take into account whether the request includes any defined value for the global "cancel" parameter.protected abstract voidAbstractPopulateActionForm.populate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Populate the givenActionFormwith request parameter values, taking into account any prefix/suffix values configured on the givenActionConfig.protected abstract voidAbstractPopulateActionForm.reset(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Call thereset()method on the specified form bean.protected abstract ActionErrorsAbstractValidateActionForm.validate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Call thevalidate()method of the specified form bean, and return the resultingActionErrorsobject. -
Uses of ActionForm in org.apache.struts.chain.commands.generic
Methods in org.apache.struts.chain.commands.generic that return ActionFormModifier and TypeMethodDescriptionprotected ActionFormCopyFormToContext.findOrCreateForm(ActionContext context) Based on the properties of this command and the givenActionContext, find or create anActionForminstance for preparation.protected ActionFormCopyFormToContext.findOrCreateForm(ActionContext ctx, String effectiveFormName, String effectiveScope) Actually find or create an instance ofActionFormconfigured under the form-bean-nameeffectiveFormName, looking in in theActionContext'sscope as identified byeffectiveScope. -
Uses of ActionForm in org.apache.struts.chain.commands.servlet
Methods in org.apache.struts.chain.commands.servlet with parameters of type ActionFormModifier and TypeMethodDescriptionprotected ForwardConfigExecuteAction.execute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) Execute the specifiedAction, and return the resultingActionForward.protected voidPopulateActionForm.populate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) protected voidPopulateActionForm.reset(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) protected ActionErrorsValidateActionForm.validate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Call thevalidate()method of the specified form bean, and return the resultingActionErrorsobject. -
Uses of ActionForm in org.apache.struts.chain.contexts
Methods in org.apache.struts.chain.contexts that return ActionFormModifier and TypeMethodDescriptionActionContextBase.findOrCreateActionForm(String formName, String scopeName) Using thisActionContext's defaultModuleConfig, return an existingActionFormin the specified scope, or create a new one and add it to the specified scope.ActionContextBase.findOrCreateActionForm(String formName, String scopeName, ModuleConfig moduleConfig) In the context of the givenModuleConfigand thisActionContext, look for an existingActionFormin the specified scope.ActionContext.getActionForm()Get the ActionForm instance which will carry any data submitted as part of this request.ActionContextBase.getActionForm()Methods in org.apache.struts.chain.contexts with parameters of type ActionFormModifier and TypeMethodDescriptionvoidActionContext.setActionForm(ActionForm form) Set the ActionForm instance which will carry any data submitted as part of this request.voidActionContextBase.setActionForm(ActionForm form) -
Uses of ActionForm in org.apache.struts.config
Methods in org.apache.struts.config that return ActionFormModifier and TypeMethodDescriptionFormBeanConfig.createActionForm(ActionServlet servlet) Create and return anActionForminstance appropriate to the information in thisFormBeanConfig.FormBeanConfig.createActionForm(ActionContext context) Create and return anActionForminstance appropriate to the information in thisFormBeanConfig.ConfigHelper.getActionForm()ConfigHelperInterface.getActionForm()Retrieve and return theActionFormbean associated with this mapping, creating and stashing one if necessary.Methods in org.apache.struts.config with parameters of type ActionFormModifier and TypeMethodDescriptionbooleanFormBeanConfig.canReuse(ActionForm form) Checks if the givenActionForminstance is suitable for use as an alternative to calling thisFormBeanConfiginstance'screateActionFormmethod. -
Uses of ActionForm in org.apache.struts.extras.actions
Methods in org.apache.struts.extras.actions with parameters of type ActionFormModifier and TypeMethodDescriptionprotected ActionForwardActionDispatcher.cancelled(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Dispatches to the target class' cancelled method, if present, otherwise returns null.protected ActionForwardDispatchAction.cancelled(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Method which is dispatched to when the request is a cancel button submit.protected ActionForwardActionDispatcher.dispatchMethod(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String name) Dispatch to the specified method.protected ActionForwardActionDispatcher.dispatchMethod(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String name, Method method) Dispatch to the specified method.protected ActionForwardDispatchAction.dispatchMethod(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String name) Dispatch to the specified method.ActionDispatcher.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).DispatchAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).DownloadAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).ForwardAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).IncludeAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).LocaleAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Change the user'sLocalebased onActionFormproperties.LookupDispatchAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).MappingDispatchAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).SwitchAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).protected StringActionDispatcher.getMethodName(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String parameter) Returns the method name, given a parameter's value.protected StringDispatchAction.getMethodName(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String parameter) Returns the method name, given a parameter's value.protected StringEventActionDispatcher.getMethodName(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String parameter) Returns the method name, given a parameter's value.protected StringEventDispatchAction.getMethodName(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String parameter) Returns the method name, given a parameter's value.protected StringLookupDispatchAction.getMethodName(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String parameter) Returns the method name, given a parameter's value.protected StringMappingDispatchAction.getMethodName(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String parameter) Returns the method name, given a parameter's value.protected StringActionDispatcher.getParameter(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Returns the parameter value as influenced by the selectedActionDispatcher.flavorspecified for thisActionDispatcher.protected StringDispatchAction.getParameter(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Returns the parameter value.protected StringMappingDispatchAction.getParameter(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Returns the parameter value.protected abstract DownloadAction.StreamInfoDownloadAction.getStreamInfo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Returns the information on the file, or other stream, to be downloaded by this action.protected ActionForwardActionDispatcher.unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Dispatches to the target class'unspecifiedmethod, if present, otherwise throws a ServletException.protected ActionForwardDispatchAction.unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Method which is dispatched to when there is no value for specified request parameter included in the request.protected ActionForwardEventActionDispatcher.unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Dispatches to the target class'unspecifiedmethod, if present, otherwise throws a ServletException.protected ActionForwardEventDispatchAction.unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Method which is dispatched to when there is no value for specified request parameter included in the request.protected ActionForwardMappingDispatchAction.unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Method which is dispatched to when there is no value for the parameter in the ActionMapping. -
Uses of ActionForm in org.apache.struts.extras.validator
Subclasses of ActionForm in org.apache.struts.extras.validatorModifier and TypeClassDescriptionclassThis class extends DynaValidatorForm and provides basic field validation based on an XML file.classThis class extends ValidatorForm and provides basic field validation based on an XML file. -
Uses of ActionForm in org.apache.struts.faces.application
Methods in org.apache.struts.faces.application that return ActionFormModifier and TypeMethodDescriptionprotected ActionFormFacesRequestProcessor.processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) protected ActionFormFacesTilesRequestProcessor.processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) Methods in org.apache.struts.faces.application with parameters of type ActionFormModifier and TypeMethodDescriptionprotected ActionForwardFacesRequestProcessor.processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) protected ActionForwardFacesTilesRequestProcessor.processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) protected voidFacesRequestProcessor.processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) Populate the properties of the specifiedActionForminstance from the request parameters included with this request, IF this is a non-Faces request.protected voidFacesTilesRequestProcessor.processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) Populate the properties of the specifiedActionForminstance from the request parameters included with this request, IF this is a non-Faces request.protected booleanFacesRequestProcessor.processValidate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) protected booleanFacesTilesRequestProcessor.processValidate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) -
Uses of ActionForm in org.apache.struts.scripting
Methods in org.apache.struts.scripting that return ActionFormMethods in org.apache.struts.scripting with parameters of type ActionFormModifier and TypeMethodDescriptionScriptAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Executes the script.voidStrutsInfo.setForm(ActionForm form) Sets the action form.Constructors in org.apache.struts.scripting with parameters of type ActionFormModifierConstructorDescriptionStrutsInfo(ScriptAction action, ActionMapping mapping, ActionForm form, MessageResources res) Constructor. -
Uses of ActionForm in org.apache.struts.tiles.actions
Methods in org.apache.struts.tiles.actions with parameters of type ActionFormModifier and TypeMethodDescriptionDefinitionDispatcherAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 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.ReloadDefinitionsAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 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.TilesAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Original Struts Action's method.TilesAction.execute(ComponentContext context, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 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.ViewDefinitionsAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 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. -
Uses of ActionForm in org.apache.struts.tiles2.actions
Methods in org.apache.struts.tiles2.actions with parameters of type ActionFormModifier and TypeMethodDescriptionDefinitionDispatcherAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) 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.TilesAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) Original Struts Action's method.TilesAction.execute(org.apache.tiles.AttributeContext context, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 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. -
Uses of ActionForm in org.apache.struts.util
Methods in org.apache.struts.util that return ActionFormModifier and TypeMethodDescriptionstatic ActionFormRequestUtils.createActionForm(HttpServletRequest request, ActionMapping mapping, ModuleConfig moduleConfig, ActionServlet servlet) Create (if necessary) and return anActionForminstance appropriate for this request.static ActionFormRequestUtils.createActionForm(FormBeanConfig config, ActionServlet servlet) Create and return anActionForminstance appropriate to the information inconfig. -
Uses of ActionForm in org.apache.struts.validator
Subclasses of ActionForm in org.apache.struts.validatorModifier and TypeClassDescriptionclassStruts validatorActionFormbacked by either aDynaBeanor POJO JavaBean.classThis class extends DynaActionForm and provides basic field validation based on an XML file.classStruts LazyActionFormwhich wraps aLazyDynaBean.classThis class extends ActionForm and provides basic field validation based on an XML file.