FileDocCategorySizeDatePackage
NewPersonAction.javaAPI DocApache Struts 2.0.9 Apps1793Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.person

NewPersonAction

public class NewPersonAction extends com.opensymphony.xwork2.ActionSupport

Fields Summary
private static final long
serialVersionUID
PersonManager
personManager
Person
person
Constructors Summary
Methods Summary
public java.lang.Stringexecute()

        personManager.createPerson(person);

        return SUCCESS;
    
public PersongetPerson()

        return person;
    
public voidsetPerson(Person person)

        this.person = person;
    
public voidsetPersonManager(PersonManager personManager)


        
        this.personManager = personManager;