Action
From Documentation
An action is POJO. It does not have to implement any interface. Of course, it has to implement the method specified in WEB-INF/zest. For example,
package foo;
public class HelloAction {
private String _message = "Welcome";
/** The execute method specified in WEB-INF/zest.xml. */
public String execute() {
return "success";
}
/** Sets the message. */
public void setMessage(String message) {
_message = message;
}
/** Returns the message. */
public String getMessage() {
return _message;
}
}
Signature of the execute Method
Parameters of the Request
Version History
Version | Date | Content |
---|---|---|