/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package actions;
import com.opensymphony.xwork2.ActionSupport;
/**
*
* @author XCoder
*/
public class SaveAction extends ActionSupport {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String execute() {
System.out.println("m called");
addActionMessage("Your name is " + name);
return SUCCESS;
}
}