FileDocCategorySizeDatePackage
AjaxTestAction.javaAPI DocApache Struts 2.0.9 Apps1532Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.ajax

AjaxTestAction

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

Fields Summary
private static int
counter
private String
data
Constructors Summary
Methods Summary
public java.lang.Stringexecute()

        return SUCCESS;
    
public intgetCount()

        return ++counter;
    
public java.lang.StringgetData()

        return data;
    
public longgetServerTime()


       
        return System.currentTimeMillis();
    
public voidsetData(java.lang.String data)

        this.data = data;