1、dispatcher:它是預設的,用來轉向頁面,通常處理jsp
2、redirect:將使用者重定向到乙個已配置好的url
3、redirectaction:將使用者重定向到乙個已定義好的action
5、freemarker:呈現freemarker模板
6、httpheader:返回乙個已配置好的http頭資訊響應
8、velocity:呈現velocity模板
9、xslt :該xml可以通過xsl模板進行轉換
10、plaintext:顯示原始檔案內容,例如檔案源**
struts2 中result中的type型別說明
chain 用來處理action鏈,被跳轉的action中仍能獲取上個頁面的值,如request資訊。com.opensymphony.xwork2.actionchainresult dispatcher 用來轉向頁面,通常處理jsp org.apache.struts2.dispatcher.s...
Struts2配置RESULT中TYPE的引數說明
chain 用來處理action鏈,被跳轉的action中仍能獲取上個頁面的值,如request資訊。com.opensymphony.xwork2.actionchainresult dispatcher 用來轉向頁面,通常處理jsp org.apache.struts2.dispatcher.s...
Struts2配置RESULT中TYPE的引數說明
chain 用來處理action鏈,被跳轉的action中仍能獲取上個頁面的值,如request資訊。com.opensymphony.xwork2.actionchainresult dispatcher 用來轉向頁面,通常處理jsp org.apache.struts2.dispatcher.s...