Uses of Class
org.apache.struts.action.ActionMapping
Packages that use ActionMapping
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
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 "struts-html" tag library
contains JSP custom tags useful in creating dynamic HTML user interfaces,
including input forms.
The upload package facilities to upload files using
multi-part requests.
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 ActionMapping in org.apache.struts.action
Subclasses of ActionMapping in org.apache.struts.actionModifier and TypeClassDescriptionclassSubclass ofActionMappingthat defaults the form bean scope torequest.classSubclass ofActionMappingthat defaults the form bean scope tosession.Methods in org.apache.struts.action that return ActionMappingModifier and TypeMethodDescriptionprotected ActionMappingRequestProcessor.processMapping(HttpServletRequest request, HttpServletResponse response, String path) Select the mapping used to process the selection path for this request.Methods in org.apache.struts.action with parameters of type ActionMappingModifier 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.voidDynaActionForm.initialize(ActionMapping mapping) Initialize all bean properties to their initial values, as specified in theFormPropertyConfigelements associated with the definition of thisDynaActionForm.protected ActionRequestProcessor.processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) Return anActioninstance that will be used to process the current request, creating a new one if necessary.protected ActionFormRequestProcessor.processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) Retrieve and return theActionFormassociated with this mapping, creating and retaining one if necessary.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 booleanRequestProcessor.processForward(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) Process a forward requested by this mapping (if any).protected booleanRequestProcessor.processInclude(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) Process an include requested by this mapping (if any).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.processRoles(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) If this action is protected by security roles, make sure that the current user possesses at least one of them.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.voidActionForm.reset(ActionMapping mapping, HttpServletRequest request) Can be used to reset bean properties to their default state, as needed.voidActionForm.reset(ActionMapping mapping, ServletRequest request) Can be used to reset all bean properties to their default state.voidDynaActionForm.reset(ActionMapping mapping, HttpServletRequest request) Reset the properties to theirinitialvalue if theirresetconfiguration is set to true or ifresetis set to a list of HTTP request methods that includes the method of givenrequestobject.voidDynaActionForm.reset(ActionMapping mapping, ServletRequest request) Reset bean properties to their default state, as needed.ActionForm.validate(ActionMapping mapping, HttpServletRequest request) Can be used to validate the properties that have been set for this HTTP request, and return anActionErrorsobject that encapsulates any validation errors that have been found.ActionForm.validate(ActionMapping mapping, ServletRequest request) Can be used to validate the properties that have been set for this non-HTTP request, and return anActionErrorsobject that encapsulates any validation errors that have been found. -
Uses of ActionMapping in org.apache.struts.config
Methods in org.apache.struts.config that return ActionMappingModifier and TypeMethodDescriptionConfigHelper.getActionMapping(String path) Return the mapping associated with the specified request path, if any; otherwise returnnull.ConfigHelperInterface.getActionMapping(String path) Return the mapping associated with the specified request path, if any; otherwise returnnull.ConfigHelper.getMapping()Theorg.apache.struts.ActionMappinginstance for this request.ConfigHelperInterface.getMapping()Theorg.apache.struts.ActionMappinginstance for this request. -
Uses of ActionMapping in org.apache.struts.extras.actions
Methods in org.apache.struts.extras.actions with parameters of type ActionMappingModifier 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 StringLookupDispatchAction.getLookupMapName(HttpServletRequest request, String keyName, ActionMapping mapping) Lookup the method name corresponding to the client request's locale.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 ActionMapping in org.apache.struts.extras.validator
Methods in org.apache.struts.extras.validator with parameters of type ActionMappingModifier and TypeMethodDescriptionDynaValidatorActionForm.getValidationKey(ActionMapping mapping, HttpServletRequest request) Returns the Validation key.ValidatorActionForm.getValidationKey(ActionMapping mapping, HttpServletRequest request) Returns the Validation key. -
Uses of ActionMapping in org.apache.struts.faces.application
Methods in org.apache.struts.faces.application with parameters of type ActionMappingModifier and TypeMethodDescriptionprotected ActionFacesRequestProcessor.processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) protected ActionFacesTilesRequestProcessor.processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) protected ActionFormFacesRequestProcessor.processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) protected ActionFormFacesTilesRequestProcessor.processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) protected 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 booleanFacesRequestProcessor.processForward(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) protected booleanFacesTilesRequestProcessor.processForward(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) protected booleanFacesRequestProcessor.processInclude(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) protected booleanFacesTilesRequestProcessor.processInclude(HttpServletRequest request, HttpServletResponse response, 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 ActionMapping in org.apache.struts.faces.util
Methods in org.apache.struts.faces.util that return ActionMappingModifier and TypeMethodDescriptionStrutsContext.getActionMapping()Return theActionMappingfor the current request (if any). -
Uses of ActionMapping in org.apache.struts.scripting
Methods in org.apache.struts.scripting that return ActionMappingMethods in org.apache.struts.scripting with parameters of type ActionMappingModifier and TypeMethodDescriptionScriptAction.execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Executes the script.voidStrutsInfo.setMapping(ActionMapping mapping) Sets the action mapping.Constructors in org.apache.struts.scripting with parameters of type ActionMappingModifierConstructorDescriptionStrutsInfo(ScriptAction action, ActionMapping mapping, ActionForm form, MessageResources res) Constructor. -
Uses of ActionMapping in org.apache.struts.taglib.html
Fields in org.apache.struts.taglib.html declared as ActionMappingModifier and TypeFieldDescriptionprotected ActionMappingFormTag.mappingThe ActionMapping defining where we will be submitting this form -
Uses of ActionMapping in org.apache.struts.tiles.actions
Methods in org.apache.struts.tiles.actions with parameters of type ActionMappingModifier 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 ActionMapping in org.apache.struts.tiles2.actions
Methods in org.apache.struts.tiles2.actions with parameters of type ActionMappingModifier 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 ActionMapping in org.apache.struts.upload
Methods in org.apache.struts.upload that return ActionMappingModifier and TypeMethodDescriptionCommonsMultipartRequestHandler.getMapping()Retrieves the action mapping with which this handler is associated.MultipartRequestHandler.getMapping()Get the ActionMapping instance for this request.Methods in org.apache.struts.upload with parameters of type ActionMappingModifier and TypeMethodDescriptionvoidCommonsMultipartRequestHandler.setMapping(ActionMapping mapping) Sets the action mapping with which this handler is associated.voidMultipartRequestHandler.setMapping(ActionMapping mapping) Convenience method to set a reference to a working ActionMapping instance. -
Uses of ActionMapping in org.apache.struts.util
Methods in org.apache.struts.util with parameters of type ActionMappingModifier and TypeMethodDescriptionstatic ActionFormRequestUtils.createActionForm(HttpServletRequest request, ActionMapping mapping, ModuleConfig moduleConfig, ActionServlet servlet) Create (if necessary) and return anActionForminstance appropriate for this request. -
Uses of ActionMapping in org.apache.struts.validator
Methods in org.apache.struts.validator with parameters of type ActionMappingModifier and TypeMethodDescriptionprotected intDynaValidatorForm.determinePage(ActionMapping mapping, HttpServletRequest request) Determine validation page.
If acceptPage of ActionMapping is null, then returns Integer.MAX_VALUE.protected intValidatorForm.determinePage(ActionMapping mapping, HttpServletRequest request) Determine validation page.
If acceptPage of ActionMapping is null, then returns Integer.MAX_VALUE.BeanValidatorForm.getValidationKey(ActionMapping mapping, HttpServletRequest request) Returns the Validation keyDynaValidatorForm.getValidationKey(ActionMapping mapping, HttpServletRequest request) Returns the Validation key.ValidatorForm.getValidationKey(ActionMapping mapping, HttpServletRequest request) Returns the Validation key.voidDynaValidatorForm.reset(ActionMapping mapping, HttpServletRequest request) Reset all properties to their default values.voidValidatorForm.reset(ActionMapping mapping, HttpServletRequest request) Reset all properties to their default values.DynaValidatorForm.validate(ActionMapping mapping, HttpServletRequest request) Validate the properties that have been set from this HTTP request, and return anActionErrorsobject that encapsulates any validation errors that have been found.ValidatorForm.validate(ActionMapping mapping, HttpServletRequest request) Validate the properties that have been set from this HTTP request, and return anActionErrorsobject that encapsulates any validation errors that have been found.