webwork.action.standard
Class Referrer

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bywebwork.action.standard.Redirect
          extended bywebwork.action.standard.Referrer
All Implemented Interfaces:
Action, IllegalArgumentAware, java.io.Serializable, ServletRequestAware, ServletResponseAware

public class Referrer
extends Redirect
implements ServletRequestAware

Redirect to the page that referred this action invocation. This action is useful to set as result of an action which perform some update of state on a page (such as removing or updating data).

Version:
$Revision: 1.2 $
Author:
Rickard Öberg (rickard@middleware-company.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
Referrer()
           
 
Method Summary
protected  java.lang.String doExecute()
          Redirect to URL
 void setServletRequest(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class webwork.action.standard.Redirect
getUrl, setServletResponse, setUrl, validate
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Referrer

public Referrer()
Method Detail

setServletRequest

public void setServletRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
setServletRequest in interface ServletRequestAware

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Redirect to URL

Overrides:
doExecute in class Redirect
Throws:
java.lang.Exception


Copyright © 2001-2003 WebWork All Rights Reserved.