|
|
|
chain 用来处理Action链 com.opensymphony.xwork2.ActionChainResultdispatcher 用来转向页面,通常处理JSP org.apache.struts2.dispatcher.ServletDispatcherResultfreemaker 处理FreeMarker模板 org.apache.struts2.views.freemarker.FreemarkerResulthttpheader 控制特殊HTTP行为的结果类型 org.apache.struts2.dispatcher.HttpHeaderResultredirect 重定向到一个URL org.apache.struts2.dispatcher.ServletRedirectResultredirectAction 重定向到一个Action org.apache.struts2.dispatcher.ServletActionRedirectResultstream 向浏览器发送InputSream对象,通常用来处理文件下载,还可用于返回AJAX数据 org.apache.struts2.dispatcher.StreamResultvelocity 处理Velocity模板 org.apache.struts2.dispatcher.VelocityResultxslt 处理XML/XLST模板 org.apache.struts2.views.xslt.XSLTResultplainText 显示原始文件内容,例如文件源代码 org.apache.struts2.dispatcher.PlainTextResultredirect-action 重定向到一个Action org.apache.struts2.dispatcher.ServletActionRedirectResultplaintext 显示原始文件内容,例如文件源代码 org.apache.struts2.dispatcher.PlainTextResult |
|