类 com.bastengao.struts2.freeroute.Result
的使用

使用 Result 的软件包
com.bastengao.struts2.freeroute   
 

com.bastengao.struts2.freerouteResult 的使用
 

com.bastengao.struts2.freerouteResult 的子类
 class ChainResult
          chain result.
 class HttpHeaderResult
          http header result.
 class JsonResult
          json result of JSON plugin.
 class StreamResult
          stream result.
 

返回 Resultcom.bastengao.struts2.freeroute 中的方法
static Result Result.create()
          构造返回结果, resultType 默认为 "dispatcher"
static Result Result.create(String resultType)
          构造返回结果
 Result Result.location(String value)
          页面路径,如果有
 Result Result.param(String name, String value)
          设置某个参数。
 



Copyright © 2013 bastengao. All Rights Reserved.