org.apache.struts.webapp.example
Class ApplicationMapping
java.lang.Object
  
org.apache.struts.config.BaseConfig
      
org.apache.struts.config.ActionConfig
          
org.apache.struts.action.ActionMapping
              
org.apache.struts.webapp.example.ApplicationMapping
- All Implemented Interfaces: 
 - Serializable
 
public final class ApplicationMapping
- extends ActionMapping
 
Implementation of ActionMapping for the Struts
 example application.  It defines the following custom properties:
 
 - failure - The context-relative URI to which this request
     should be forwarded if a validation error occurs on the input
     information (typically goes back to the input form).
 
 - success - The context-relative URI to which this request
     should be forwarded if the requested action is successfully
     completed.
 
 
- Version:
 
  - $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $
 
- Author:
 
  - Craig R. McClanahan
 
- See Also:
 - Serialized Form
 
 
| Fields inherited from class org.apache.struts.config.ActionConfig | 
actionId, attribute, cancellable, catalog, command, exceptions, extensionProcessed, forward, forwards, include, inherit, input, moduleConfig, multipartClass, name, parameter, path, prefix, roleNames, roles, scope, suffix, type, unknown, validate | 
 
 
 
 
 
| Methods inherited from class org.apache.struts.config.ActionConfig | 
addExceptionConfig, addForwardConfig, checkCircularInheritance, findException, findExceptionConfig, findExceptionConfigs, findForwardConfig, findForwardConfigs, freeze, getActionId, getAttribute, getCancellable, getCatalog, getCommand, getExtends, getForward, getInclude, getInput, getModuleConfig, getMultipartClass, getName, getParameter, getPath, getPrefix, getRoleNames, getRoles, getScope, getSuffix, getType, getUnknown, getValidate, inheritExceptionHandlers, inheritForwards, inheritFrom, isExtensionProcessed, processExtends, removeExceptionConfig, removeForwardConfig, setActionId, setAttribute, setCancellable, setCatalog, setCommand, setExtends, setForward, setInclude, setInput, setModuleConfig, setMultipartClass, setName, setParameter, setPath, setPrefix, setRoles, setScope, setSuffix, setType, setUnknown, setValidate, toString | 
 
 
 
ApplicationMapping
public ApplicationMapping()
getFailure
public String getFailure()
- Return the failure URI for this mapping.
 
 
setFailure
public void setFailure(String failure)
- Set the failure URI for this mapping.
- Parameters:
 failure - The failure URI for this mapping
 
 
getSuccess
public String getSuccess()
- Return the success URI for this mapping.
 
 
setSuccess
public void setSuccess(String success)
- Set the success URI for this mapping.
- Parameters:
 success - The success URI for this mapping
 
 
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.