FileDocCategorySizeDatePackage
LongProcessAction.javaAPI DocApache Struts 2.0.9 Apps1525Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.wait

LongProcessAction

public class LongProcessAction extends com.opensymphony.xwork2.ActionSupport
Example to illustrate the execAndWait interceptor.

Fields Summary
private static final long
serialVersionUID
private int
time
Constructors Summary
Methods Summary
public java.lang.Stringexecute()

        System.err.println("time: " + time);
        Thread.sleep(time);

        return SUCCESS;
    
public intgetTime()


       
        return time;
    
public voidsetTime(int time)

        this.time = time;