org.apache.struts.webapp.example
Class ApplicationMapping

java.lang.Object
  extended byorg.apache.struts.config.ActionConfig
      extended byorg.apache.struts.action.ActionMapping
          extended byorg.apache.struts.webapp.example.ApplicationMapping
All Implemented Interfaces:
Serializable

public final class ApplicationMapping
extends org.apache.struts.action.ActionMapping

Implementation of ActionMapping for the Struts example application. It defines the following custom properties:

Version:
$Id $
See Also:
Serialized Form

Field Summary
private  String failure
          The failure URI for this mapping.
private  String success
          The success URI for this mapping.
 
Fields inherited from class org.apache.struts.config.ActionConfig
attribute, configured, exceptions, forward, forwards, include, input, moduleConfig, multipartClass, name, parameter, path, prefix, roleNames, roles, scope, suffix, type, unknown, validate
 
Constructor Summary
ApplicationMapping()
           
 
Method Summary
 String getFailure()
          Return the failure URI for this mapping.
 String getSuccess()
          Return the success URI for this mapping.
 void setFailure(String failure)
          Set the failure URI for this mapping.
 void setSuccess(String success)
          Set the success URI for this mapping.
 
Methods inherited from class org.apache.struts.action.ActionMapping
findForward, findForwards, getInputForward
 
Methods inherited from class org.apache.struts.config.ActionConfig
addExceptionConfig, addForwardConfig, findException, findExceptionConfig, findExceptionConfigs, findForwardConfig, findForwardConfigs, freeze, getAttribute, getForward, getInclude, getInput, getModuleConfig, getMultipartClass, getName, getParameter, getPath, getPrefix, getRoleNames, getRoles, getScope, getSuffix, getType, getUnknown, getValidate, removeExceptionConfig, removeForwardConfig, setAttribute, setForward, setInclude, setInput, setModuleConfig, setMultipartClass, setName, setParameter, setPath, setPrefix, setRoles, setScope, setSuffix, setType, setUnknown, setValidate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

failure

private String failure
The failure URI for this mapping.


success

private String success
The success URI for this mapping.

Constructor Detail

ApplicationMapping

public ApplicationMapping()
Method Detail

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 © 1999-2005 Apache Software Foundation. All Rights Reserved.