| 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 | 从一个actioin跳转到另一个action |
| Velocity Result | velocity | com.opensymphony.webwork.dispatcher.VelocityResult | 跳转到一个vm |
| FreeMarker Result | freemarker | com.opensymphony.webwork.views.freemarker.FreemarkerResult | 跳转到一个ftl页面 |
| JasperReports Result | jasper | com.opensymphony.webwork.views.jasperreports.JasperReportsResult | 输出PDF |
| XSL Result | xslt | com.opensymphony.webwork.views.xslt.XSLTResult | |
| HttpHeader Result | header | com.opensymphony.webwork.dispatcher.HttpHeaderResult | |
| Stream Result | stream | com.opensymphony.webwork.dispatcher.StreamResult |
Struts2结果类型详解
本文详细介绍了Struts2框架中的各种结果类型,包括DispatcherResult、RedirectResult等,并解释了它们的功能和应用场景。
209

被折叠的 条评论
为什么被折叠?



