Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Webwork provides several implementations of the com.opensymphony.xwork.Result interface to make web-based interactions with your actions simple. These result types include:

...

Result Type

...

name

...

class

...

Dispatcher Result

...

dispatcher

...

com.opensymphony.webwork.dispatcher.ServletDispatcherResult

...

Redirect Result

...

redirect

...

com.opensymphony.webwork.dispatcher.ServletRedirectResult

...

Action Chaining Result

...

chain

...

com.opensymphony.xwork.ActionChainResult

...

Velocity Result

...

velocity

...

com.opensymphony.webwork.dispatcher.VelocityResult

...

FreeMarker Result

...

freemarker

...

com.opensymphony.webwork.views.freemarker.FreemarkerResult

...

JasperReports Result

...

jasper

...

com.opensymphony.webwork.views.jasperreports.JasperReportsResult

...

XSL Result

...

xslt

...

com.opensymphony.webwork.views.xslt.XSLTResult

...

HttpHeader Result

...

header

...

com.opensymphony.webwork.dispatcher.HttpHeaderResult

...

Stream Result

...

stream

...

Results are specified in a xwork xml config file(xwork.xml) nested inside <action>. If the location param is the only param being specified in the result tag, you can simplify it as follows:

...