FileDocCategorySizeDatePackage
ApplicationMapping.javaAPI DocExample2690Thu Jul 08 09:26:50 BST 2004org.apache.struts.webapp.example

ApplicationMapping

public final class ApplicationMapping extends org.apache.struts.action.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
$Revision: 1.5 $ $Date: 2004/03/14 06:23:44 $

Fields Summary
private String
failure
The failure URI for this mapping.
private String
success
The success URI for this mapping.
Constructors Summary
Methods Summary
public java.lang.StringgetFailure()
Return the failure URI for this mapping.



    // ----------------------------------------------------------- Properties


                
       

	return (this.failure);

    
public java.lang.StringgetSuccess()
Return the success URI for this mapping.


	return (this.success);

    
public voidsetFailure(java.lang.String failure)
Set the failure URI for this mapping.

param
failure The failure URI for this mapping


	this.failure = failure;

    
public voidsetSuccess(java.lang.String success)
Set the success URI for this mapping.

param
success The success URI for this mapping


	this.success = success;