Class DefaultActionSupport

java.lang.Object
org.apache.struts2.ActionSupport
org.apache.struts2.dispatcher.DefaultActionSupport
All Implemented Interfaces:
Serializable, Action, ValidationAware, LocaleProvider, TextProvider, Validateable

public class DefaultActionSupport extends ActionSupport
A simple action support class that sets properties to be able to serve
See Also:
  • Constructor Details

    • DefaultActionSupport

      public DefaultActionSupport()
      Constructor
  • Method Details

    • execute

      public String execute() throws Exception
      Description copied from class: ActionSupport
      A default implementation that does nothing an returns "success".

      Subclasses should override this method to provide their business logic.

      See also Action.execute().

      Specified by:
      execute in interface Action
      Overrides:
      execute in class ActionSupport
      Returns:
      returns Action.SUCCESS
      Throws:
      Exception - can be thrown by subclasses.
    • getSuccessResultValue

      public String getSuccessResultValue()
      Returns:
      Returns the successResultValue.
    • setSuccessResultValue

      public void setSuccessResultValue(String successResultValue)
      Parameters:
      successResultValue - The successResultValue to set.