webwork.examples.tutorial
Class HelloAction

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bywebwork.examples.tutorial.HelloAction
All Implemented Interfaces:
Action, IllegalArgumentAware, java.io.Serializable

public class HelloAction
extends ActionSupport
implements Action

Minimal Action implementation

Version:
$Revision: 1.4 $
Author:
Rickard Öberg (rickard@dreambean.com)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
HelloAction()
           
 
Method Summary
protected  java.lang.String doExecute()
           
 java.lang.String getGreeting()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, execute, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface webwork.action.Action
execute
 

Constructor Detail

HelloAction

public HelloAction()
Method Detail

setName

public void setName(java.lang.String name)

getGreeting

public java.lang.String getGreeting()

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class ActionSupport
Throws:
java.lang.Exception


Copyright © 2001-2003 WebWork All Rights Reserved.