The <action> Element

Purpose

The <action> element defines an action.

Attributes

NameTypeDescription
path CDATA Required - The module-relative action path, starting with a slash ('/').
One action may specify "/*" to be used as default action for requests, whose module-relative path does not match any other action path.
class CDATA Dynamic - The name of a class implementing the Action interface. If omitted, the module will use the default action class.
dispatcher NMTOKEN Specifies a custom dispatcher to be used. May be overridden by dispatch configurations.

Body

The body of the <action> element is defined by the following sequence:

(param*,filter*,dispatch*,exception-handler*)

Related elements

<param>, <filter>, <dispatch>, <exception-handler>, <actions>