Predefined Result Types

The framework provides several implementations of the com.opensymphony.xwork2.Result interface, ready to use in your own applications.

Chain ResultUsed for Action Chaining
Dispatcher ResultUsed for web resource integration, including JSP integration
FreeMarker ResultUsed for FreeMarker integration
HttpHeader ResultUsed to control special HTTP behaviors
Redirect ResultUsed to redirect to another URL (web resource)
Redirect Action ResultUsed to redirect to another action mapping
Stream ResultUsed to stream an InputStream back to the browser (usually for file downloads)
Velocity ResultUsed for Velocity integration
XSL ResultUsed for XML/XSLT integration
PlainText ResultUsed to display the raw content of a particular page (i.e jsp, HTML)
Tiles 2 ResultUsed to provide Tiles 2 integration
Tiles 3 ResultUsed to provide Tiles 3 integration
Postback ResultUsed to postback request parameters as a form to the specified destination
JSON ResultUsed to serialize actions into JSON