org.apache.struts2.showcase.ajax
Class AjaxTestAction

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

public class AjaxTestAction
extends java.lang.Object
implements Action, java.io.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
 java.lang.String execute()
           
 int getCount()
           
 java.lang.String getData()
           
 long getServerTime()
           
 void setData(java.lang.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 java.lang.String getData()

setData

public void setData(java.lang.String data)

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface Action
Throws:
java.lang.Exception


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