@webwork Class Level Tag Usage

@webwork.action (0..*)

Define an action for this class

Applies to: WebWork Actions

Parameter Type Applicability Description Mandatory
name text Action name. true
success text Use the specified resource if SUCCESS is returned false
error text Use the specified resource if ERROR is returned false
input text Use the specified resource if INPUT is returned false
views text Provide a comma-separated list of actions views in the RETURN_VALUE=RESOURCE format used by views.properties false

@webwork Method Level Tag Usage

@webwork.command (0..*)

Define a CommandDriven action using this method. Your action must fulfill the CommandDriven requirements (like implementing CommandDriven.) See http://wiki.opensymphony.com/space/Using+CommandDriven+Actions

Applies to: WebWork CommandDriven Actions

Parameter Type Applicability Description Mandatory
name text Command action name. Will create an action named 'action.command', where 'action' is the contents of the 'name' parameter in @webwork.action and 'command' is the contents of the 'name' parameter of this tag. true
success text Use the specified resource if SUCCESS is returned by this CommandDriven action false
error text Use the specified resource if ERROR is returned by this CommandDriven action false
input text Use the specified resource if INPUT is returned by this CommandDriven action false
views text Provide a comma-separated list of actions views in the RETURN_VALUE=RESOURCE format used by views.properties to specify additional properties for this CommandDriven action false