- added example in showcase demonstrating the usage of action prefix



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415118 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Toby Jee
2006-06-18 11:06:23 +00:00
parent 3cedc1e94f
commit 6475e11862
@@ -0,0 +1,22 @@
package org.apache.struts.action2.showcase.tag.nonui.actionPrefix;
import com.opensymphony.xwork.ActionSupport;
public class SubmitAction extends ActionSupport {
private static final long serialVersionUID = -7832803019378213087L;
private String text;
public String getText() { return text; }
public void setText(String text) { this.text = text; }
public String execute() throws Exception {
return SUCCESS;
}
public String alternateMethod() {
return "methodPrefixResult";
}
}