FileDocCategorySizeDatePackage
DefaultActionSupport.javaAPI DocExample2214Mon Jul 23 13:26:38 BST 2007org.apache.struts2.dispatcher

DefaultActionSupport

public class DefaultActionSupport extends com.opensymphony.xwork2.ActionSupport
A simple action support class that sets properties to be able to serve

Fields Summary
private static final long
serialVersionUID
private String
successResultValue
Constructors Summary
public DefaultActionSupport()
Constructor



          
      
        super();
    
Methods Summary
public java.lang.Stringexecute()

        HttpServletRequest request = ServletActionContext.getRequest();
        String requestedUrl = request.getPathInfo();
        if (successResultValue == null) successResultValue = requestedUrl;
        return SUCCESS;
    
public java.lang.StringgetSuccessResultValue()

return
Returns the successResultValue.

        return successResultValue;
    
public voidsetSuccessResultValue(java.lang.String successResultValue)

param
successResultValue The successResultValue to set.

        this.successResultValue = successResultValue;