org.apache.struts2.showcase.ajax
Class AjaxTestAction

java.lang.Object
  extended by org.apache.struts2.showcase.ajax.AjaxTestAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, Serializable

public class AjaxTestAction
extends Object
implements com.opensymphony.xwork2.Action, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AjaxTestAction()
           
 
Method Summary
 String execute()
           
 int getCount()
           
 String getData()
           
 long getServerTime()
           
 void setData(String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxTestAction

public AjaxTestAction()
Method Detail

getServerTime

public long getServerTime()

getCount

public int getCount()

getData

public String getData()

setData

public void setData(String data)

execute

public String execute()
               throws Exception
Specified by:
execute in interface com.opensymphony.xwork2.Action
Throws:
Exception


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.