Package org.apache.struts2.showcase.ajax
Class AjaxTestAction
java.lang.Object
org.apache.struts2.showcase.ajax.AjaxTestAction
- All Implemented Interfaces:
Serializable,Action
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AjaxTestAction
public AjaxTestAction()
-
-
Method Details
-
execute
Description copied from interface:ActionWhere the logic of the action is executed.- Specified by:
executein interfaceAction- Returns:
- a string representing the logical result of the execution. See constants in this interface for a list of standard result values.
- Throws:
Exception- thrown if a system level exception occurs. Note: Application level exceptions should be handled by returning an error value, such asAction.ERROR.
-
getServerTime
public long getServerTime() -
getCount
public int getCount() -
getData
-
setData
-