FileDocCategorySizeDatePackage
SubmitApplication.javaAPI DocApache Struts 2.0.9 Apps1933Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.validation

SubmitApplication

public class SubmitApplication extends com.opensymphony.xwork2.ActionSupport
version
$Date: 2006-11-06 10:01:43 -0500 (Mon, 06 Nov 2006) $ $Id: SubmitApplication.java 471756 2006-11-06 15:01:43Z husted $

Fields Summary
private String
name
private Integer
age
Constructors Summary
Methods Summary
public java.lang.StringapplicationOk()

        addActionMessage("Your application looks ok.");
        return SUCCESS;
    
public java.lang.StringcancelApplication()

        addActionMessage("So you have decided to cancel the application");
        return SUCCESS;
    
public java.lang.IntegergetAge()

        return age;
    
public java.lang.StringgetName()

        return this.name;
    
public voidsetAge(java.lang.Integer age)

        this.age = age;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
public java.lang.StringsubmitApplication()

        return SUCCESS;