ResultTypes: Result types and result is specified in struts.xml configuration file for specified action usin the result tag.
Dispatcher Result Type: To dispatch the request to a jsp page to include or forward content. It is the default one.
Example:
<result name="success"> /Success.jsp </result>
Redirect Result: To redirect to another URL (web resource). It is like response.sendRedirect().
Example:
<result name="success" type="redirect"> <param name="location"< /Redirected.jsp </param > </result>
Redirect Action Result: To redirect to another action mapping
Chain Result: For Action Chaining
FreeMarker Result: For FreeMarker integration
Example:
<result name="success" type="freemarker"< <param name="location">/success.fm</param> </result>
HttpHeader Result:Used to control special HTTP behaviors.
Stream Result: Used to stream an InputStream back to the browser (usually for file downloads).
Velocity Result: For Velocity integration.
XSL Result:Used for XML/XSLT integration.
PlainText Result:Used to display the raw content of a particular page.
Tiles Result:Used to provide Tiles integration.