傻子一個(gè)

          一路走來~~

           

          Struts2的Result Type

          轉(zhuǎn)自:http://savefrom.javaeye.com/blog/305413
             1. chain  
             
          2.  
             
          3.     用來處理Action鏈  
             
          4.   
             
          5.     com.opensymphony.xwork2.ActionChainResult  
             
          6.   
             
          7. dispatcher  
             
          8.   
             
          9.     用來轉(zhuǎn)向頁面,通常處理JSP  
            
          10.   
            
          11.     org.apache.struts2.dispatcher.ServletDispatcherResult  
            
          12.   
            
          13. freemaker  
            
          14.   
            
          15.     處理FreeMarker模板  
            
          16.   
            
          17.     org.apache.struts2.views.freemarker.FreemarkerResult  
            
          18.   
            
          19. httpheader  
            
          20.   
            
          21.     控制特殊HTTP行為的結(jié)果類型  
            
          22.   
            
          23.     org.apache.struts2.dispatcher.HttpHeaderResult  
            
          24.   
            
          25. redirect  
            
          26.   
            
          27.     重定向到一個(gè)URL  
            
          28.   
            
          29.     org.apache.struts2.dispatcher.ServletRedirectResult  
            
          30.   
            
          31. redirectAction  
            
          32.   
            
          33.     重定向到一個(gè)Action  
            
          34.   
            
          35.     org.apache.struts2.dispatcher.ServletActionRedirectResult  
            
          36.   
            
          37. stream  
            
          38.   
            
          39.     向?yàn)g覽器發(fā)送InputSream對象,通常用來處理文件下載,還可用于返回AJAX數(shù)據(jù)  
            
          40.   
            
          41.     org.apache.struts2.dispatcher.StreamResult  
            
          42.   
            
          43. velocity  
            
          44.   
            
          45.     處理Velocity模板  
            
          46.   
            
          47.     org.apache.struts2.dispatcher.VelocityResult  
            
          48.   
            
          49. xslt  
            
          50.   
            
          51.     處理XML/XLST模板  
            
          52.   
            
          53.     org.apache.struts2.views.xslt.XSLTResult  
            
          54.   
            
          55. plainText  
            
          56.   
            
          57.     顯示原始文件內(nèi)容,例如文件源代碼  
            
          58.   
            
          59.     org.apache.struts2.dispatcher.PlainTextResult  
            
          60.   
            
          61. redirect-action  
            
          62.   
            
          63.     重定向到一個(gè)Action  
            
          64.   
            
          65.     org.apache.struts2.dispatcher.ServletActionRedirectResult  
            
          66.   
            
          67. plaintext  
            
          68.   
            
          69.     顯示原始文件內(nèi)容,例如文件源代碼  
            
          70.   
            
          71.     org.apache.struts2.dispatcher.PlainTextResult 

          posted on 2009-06-18 11:15 老文 閱讀(1147) 評論(1)  編輯  收藏 所屬分類: S2(F)SJ(H)JJ

          評論

          # re: Struts2的Result Type 2011-11-15 13:09 程序員之家

          不錯(cuò)謝謝  回復(fù)  更多評論   

          導(dǎo)航

          常用鏈接

          留言簿(2)

          隨筆分類(29)

          收藏夾(1)

          My Work

          學(xué)習(xí)文章

          軟件使用

          最新隨筆

          最新評論

          主站蜘蛛池模板: 商南县| 常山县| 铁岭市| 甘肃省| 论坛| 沅江市| 黄山市| 安宁市| 西乌珠穆沁旗| 灵丘县| 大英县| 稻城县| 青冈县| 松溪县| 海伦市| 泰顺县| 洪湖市| 开封市| 桂林市| 眉山市| 临邑县| 万荣县| 奇台县| 紫阳县| 宜黄县| 崇礼县| 南漳县| 南丰县| 乌苏市| 奉新县| 黎平县| 许昌市| 龙胜| 莒南县| 留坝县| 甘孜| 法库县| 开化县| 祁东县| 新田县| 兴文县|