webwork.action.standard
Class NoContent

java.lang.Object
  extended bywebwork.action.standard.NoContent
All Implemented Interfaces:
Action, java.io.Serializable

public class NoContent
extends java.lang.Object
implements Action

Set the response status to 204 NO_CONTENT. This tells the browser to not update the current page. This can be useful if you have a form that you want to submit but you do not want to reload the whole page just because of that. You can then use some client side Javascript to notify the user that the form was submitted.

Version:
$Revision: 1.1 $
Author:
Dick Zetterberg (dick@transitor.se)
See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
NoContent()
           
 
Method Summary
 java.lang.String execute()
          This method is where the logic of the action is executed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

NoContent

public NoContent()
Method Detail

execute

public java.lang.String execute()
Description copied from interface: Action
This method is where the logic of the action is executed. Parameters are passed by calling set-methods, or by implementing the ParameterAware interface.

Specified by:
execute in interface Action
Returns:
a string representing the logical result of the execution. See constants in this interface for a list of standard result values.


Copyright © 2001-2003 WebWork All Rights Reserved.