|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
Default action interface. Provided purely for user convenience. Struts does not require actions to implement any
interfaces. Actions need only implement a public, no argument method which returns String
. If a user does
not specify a method name, Struts defaults to execute()
.
For example:
static import ResultNames.*; public class MyAction implements Action { public String execute() { return SUCCESS; } }
is equivalent to:
static import ResultNames.*; public class MyAction { public String execute() { return SUCCESS; } }
Method Summary | |
---|---|
java.lang.String |
execute()
Executes this action. |
Method Detail |
---|
java.lang.String execute()
ResultNames
for common suggestions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |