Predefined Result Types
The framework provides several implementations of the
com.opensymphony.xwork2.Result interface, ready to use in your own applications.| Chain Result | Used for Action Chaining |
| Dispatcher Result | Used for web resource integration, including JSP integration |
| FreeMarker Result | Used for FreeMarker integration |
| HttpHeader Result | Used to control special HTTP behaviors |
| Redirect Result | Used to redirect to another URL (web resource) |
| Redirect Action Result | Used to redirect to another action mapping |
| Stream Result | Used to stream an InputStream back to the browser (usually for file downloads) |
| Velocity Result | Used for Velocity integration |
| XSL Result | Used for XML/XSLT integration |
| PlainText Result | Used to display the raw content of a particular page (i.e jsp, HTML) |
| Tiles 2 Result | Used to provide Tiles 2 integration |
| Tiles 3 Result | Used to provide Tiles 3 integration |
| Postback Result | Used to postback request parameters as a form to the specified destination |
| JSON Result | Used to serialize actions into JSON |