Apache Struts API Documentation: Uses of Class org.apache.struts.action.ActionMapping

Apache Struts API


Uses of Class
org.apache.struts.action.ActionMapping

Packages that use ActionMapping
org.apache.struts.action The action package is the core of the struts framework, providing the "Controller" aspect of a MVC model. 
org.apache.struts.actions The actions package provides special adapters between the incoming HTTP request and the corresponding business logic. 
org.apache.struts.config The "config" package contains configuration objects that correspond to elements that may be specified in the struts-config.xml module configuration file. 
org.apache.struts.taglib.html The "struts-html" tag library contains JSP custom tags useful in creating dynamic HTML user interfaces, including input forms. 
org.apache.struts.tiles.actions   
org.apache.struts.upload The upload package facilities to upload files using multi-part requests. 
org.apache.struts.util The Utilities package provides a variety of families of classes, to solve problems that are commonly encountered in building web applications. 
org.apache.struts.validator 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.action
 class RequestActionMapping
          Subclass of ActionMapping that defaults the form bean scope to request.
 class SessionActionMapping
          Subclass of ActionMapping that defaults the form bean scope to session.
 

Methods in org.apache.struts.action that return ActionMapping
protected  ActionMapping RequestProcessor.processMapping(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String path)
          Select the mapping used to process the selection path for this request.
 

Methods in org.apache.struts.action with parameters of type ActionMapping
 ActionForward Action.execute(ActionMapping mapping, ActionForm form, javax.servlet.ServletRequest request, javax.servlet.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.
 ActionForward Action.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.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.
 void ActionForm.reset(ActionMapping mapping, javax.servlet.ServletRequest request)
          Reset all bean properties to their default state.
 void ActionForm.reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset bean properties to their default state, as needed.
 ActionErrors ActionForm.validate(ActionMapping mapping, javax.servlet.ServletRequest request)
          Validate the properties that have been set for this non-HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 ActionErrors ActionForm.validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 void DynaActionForm.initialize(ActionMapping mapping)
          Initialize all bean properties to their initial values, as specified in the FormPropertyConfig elements associated with the definition of this DynaActionForm.
 void DynaActionForm.reset(ActionMapping mapping, javax.servlet.ServletRequest request)
          Reset bean properties to their default state, as needed.
 void DynaActionForm.reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset bean properties to their default state, as needed.
protected  Action RequestProcessor.processActionCreate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMapping mapping)
          Return an Action instance that will be used to process the current request, creating a new one if necessary.
protected  ActionForm RequestProcessor.processActionForm(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMapping mapping)
          Retrieve and return the ActionForm associated with this mapping, creating and retaining one if necessary.
protected  ActionForward RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping)
          Ask the specified Action instance to handle this request.
protected  ActionForward RequestProcessor.processException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception exception, ActionForm form, ActionMapping mapping)
          Ask our exception handler to handle the exception.
protected  boolean RequestProcessor.processForward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMapping mapping)
          Process a forward requested by this mapping (if any).
protected  boolean RequestProcessor.processInclude(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMapping mapping)
          Process an include requested by this mapping (if any).
protected  void RequestProcessor.processPopulate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionForm form, ActionMapping mapping)
          Populate the properties of the specified ActionForm instance from the request parameters included with this request.
protected  boolean RequestProcessor.processRoles(javax.servlet.http.HttpServletRequest request, javax.servlet.http.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  boolean RequestProcessor.processValidate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionForm form, ActionMapping mapping)
          If this request was not cancelled, and the request's ActionMapping has not disabled validation, call the validate method of the specified ActionForm, and forward to the input path if there were any errors.
 ActionForward ExceptionHandler.execute(java.lang.Exception ex, ExceptionConfig ae, ActionMapping mapping, ActionForm formInstance, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle the Exception.
 

Uses of ActionMapping in org.apache.struts.actions
 

Methods in org.apache.struts.actions with parameters of type ActionMapping
 ActionForward SwitchAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 ActionForward DispatchAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
protected  ActionForward DispatchAction.unspecified(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Method which is dispatched to when there is no value for specified request parameter included in the request.
protected  ActionForward DispatchAction.cancelled(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Method which is dispatched to when the request is a cancel button submit.
protected  ActionForward DispatchAction.dispatchMethod(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String name)
          Dispatch to the specified method.
protected  java.lang.String DispatchAction.getMethodName(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String parameter)
          Returns the method name, given a parameter's value.
 ActionForward LookupDispatchAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
protected  java.lang.String LookupDispatchAction.getLookupMapName(javax.servlet.http.HttpServletRequest request, java.lang.String keyName, ActionMapping mapping)
          Lookup the method name corresponding to the client request's locale.
protected  java.lang.String LookupDispatchAction.getMethodName(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String parameter)
          Returns the method name, given a parameter's value.
 ActionForward LocaleAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           Change the user's Locale based on ActionForm properties.
 ActionForward ActionDispatcher.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
protected  ActionForward ActionDispatcher.unspecified(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Dispatches to the target class' unspecified method, if present, otherwise throws a ServletException.
protected  ActionForward ActionDispatcher.cancelled(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Dispatches to the target class' cancelled method, if present, otherwise returns null.
protected  ActionForward ActionDispatcher.dispatchMethod(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String name)
          Dispatch to the specified method.
protected  ActionForward ActionDispatcher.dispatchMethod(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String name, java.lang.reflect.Method method)
          Dispatch to the specified method.
protected  java.lang.String ActionDispatcher.getParameter(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns the parameter value as influenced by the selected ActionDispatcher.flavor specified for this ActionDispatcher.
protected  java.lang.String ActionDispatcher.getMethodName(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String parameter)
          Returns the method name, given a parameter's value.
protected abstract  DownloadAction.StreamInfo DownloadAction.getStreamInfo(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns the information on the file, or other stream, to be downloaded by this action.
 ActionForward DownloadAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
 ActionForward ForwardAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
 ActionForward IncludeAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
 ActionForward MappingDispatchAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
protected  ActionForward MappingDispatchAction.unspecified(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Method which is dispatched to when there is no value for the parameter in the ActionMapping.
protected  java.lang.String MappingDispatchAction.getMethodName(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String parameter)
          Returns the method name, given a parameter's value.
 

Uses of ActionMapping in org.apache.struts.config
 

Methods in org.apache.struts.config that return ActionMapping
 ActionMapping ConfigHelperInterface.getMapping()
          The org.apache.struts.ActionMapping instance for this request.
 ActionMapping ConfigHelperInterface.getActionMapping(java.lang.String path)
          Return the mapping associated with the specified request path, if any; otherwise return null.
 ActionMapping ConfigHelper.getMapping()
          The org.apache.struts.ActionMapping instance for this request.
 ActionMapping ConfigHelper.getActionMapping(java.lang.String path)
          Return the mapping associated with the specified request path, if any; otherwise return null.
 

Uses of ActionMapping in org.apache.struts.taglib.html
 

Fields in org.apache.struts.taglib.html declared as ActionMapping
protected  ActionMapping FormTag.mapping
          The 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 ActionMapping
 ActionForward DefinitionDispatcherAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.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.
 ActionForward ReloadDefinitionsAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.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.
 ActionForward ViewDefinitionsAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.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.
 ActionForward TilesAction.execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Original Struts Action's method.
 ActionForward TilesAction.execute(ComponentContext context, ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.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
 

Fields in org.apache.struts.upload declared as ActionMapping
private  ActionMapping CommonsMultipartRequestHandler.mapping
          The action mapping with which this handler is associated.
protected  ActionMapping DiskMultipartRequestHandler.mapping
          Deprecated. The ActionMapping instance used for this class.
 

Methods in org.apache.struts.upload that return ActionMapping
 ActionMapping CommonsMultipartRequestHandler.getMapping()
          Retrieves the action mapping with which this handler is associated.
 ActionMapping DiskMultipartRequestHandler.getMapping()
          Deprecated.  
 ActionMapping MultipartRequestHandler.getMapping()
          Get the ActionMapping instance for this request
 

Methods in org.apache.struts.upload with parameters of type ActionMapping
 void CommonsMultipartRequestHandler.setMapping(ActionMapping mapping)
          Sets the action mapping with which this handler is associated.
 void DiskMultipartRequestHandler.setMapping(ActionMapping mapping)
          Deprecated.  
 void MultipartRequestHandler.setMapping(ActionMapping mapping)
          Convienience 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 ActionMapping
static ActionForm RequestUtils.createActionForm(javax.servlet.http.HttpServletRequest request, ActionMapping mapping, ModuleConfig moduleConfig, ActionServlet servlet)
          Create (if necessary) and return an ActionForm instance appropriate for this request.
 

Uses of ActionMapping in org.apache.struts.validator
 

Methods in org.apache.struts.validator with parameters of type ActionMapping
 ActionErrors ValidatorForm.validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 java.lang.String ValidatorForm.getValidationKey(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Returns the Validation key.
 void ValidatorForm.reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 java.lang.String BeanValidatorForm.getValidationKey(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Returns the Validation key
 ActionErrors DynaValidatorForm.validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 java.lang.String DynaValidatorForm.getValidationKey(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Returns the Validation key.
 void DynaValidatorForm.reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 java.lang.String ValidatorActionForm.getValidationKey(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Returns the Validation key.
 java.lang.String DynaValidatorActionForm.getValidationKey(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Returns the Validation key.
 



Copyright � 2000-2005 - The Apache Software Foundation