隨筆 - 6  文章 - 129  trackbacks - 0
          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(14)

          隨筆檔案(6)

          文章分類(467)

          文章檔案(423)

          相冊

          收藏夾(18)

          JAVA

          搜索

          •  

          積分與排名

          • 積分 - 827168
          • 排名 - 49

          最新評論

          閱讀排行榜

          評論排行榜

          struts 2
          struts2 + spring, 使用session範圍的Bean的配置事項      摘要: 異常信息:
          Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running out  閱讀全文
          posted @ 2011-09-06 10:22 Ke 閱讀(1890) | 評論 (1)  編輯
          struts2解決No configuration found for the specified action 異常      摘要: 錯誤信息:
          2011-09-05 09:55:23,010 WARN [http-80-1] components.Form (Form.java:308) - No configuration found for the specified action: '/feeder/excelToolList.action' in namespace: '/feeder'. Form action defaulting to 'action' attribute's literal value.  閱讀全文
          posted @ 2011-09-05 10:16 Ke 閱讀(590) | 評論 (0)  編輯
          struts2+spring+hibernate 懶加載異常:org.hibernate.LazyInitializationException: failed to lazily initialize      摘要: 用OpenSessionInViewFilter過濾器,注意hibernateFilter過濾器和struts2過濾器在映射時的先后順序。同時要配置事物處理,否則會導致session處于只讀狀態而不能做修改、刪除的動作。  閱讀全文
          posted @ 2011-07-13 13:55 Ke 閱讀(1181) | 評論 (0)  編輯
          [轉]Cannot serialize session attribute--問題的解決      摘要: Tomcat 問題: Cannot serialize session attribute XXX for ..的解決辦法

          在關閉和重啟Tomcat 5時, tomcat 會試圖 serialize存在的session資源. 如果 sessions中相關的對象沒有實現 serializable 接口, 就會出現Cannot serialize session attribute XXX for 異常.
            閱讀全文
          posted @ 2010-01-09 10:22 Ke 閱讀(3906) | 評論 (0)  編輯
          Struts2中的單Form多圖片提交按鈕(Submit)的使用 (轉)      摘要: src="/issframe/images/btn/btn_find.jpg" cssClass="button_image"
          onclick="return CheckInputForRequired();" action="user" method="doSearch"/>
            閱讀全文
          posted @ 2008-06-16 18:41 Ke 閱讀(669) | 評論 (0)  編輯
          (轉)NetBeans 6 和 Struts2      摘要: 準備工作:

          1. JDK 5.0 (或更高版本);

          2. NetBeans 6 或者 NetBeans 6.1 Beta(本文使用的是NetBeans 6.1 Beta);

          3. Struts2 開發包;

          4. Tomcat 5.5 (或更高版本)。
            閱讀全文
          posted @ 2008-04-07 19:06 Ke 閱讀(1516) | 評論 (0)  編輯
          <s:actionmessage/>標簽顯示Action信息      摘要: 使用標簽顯示Action信息時,有一個要注意的地方,  閱讀全文
          posted @ 2008-01-18 11:23 Ke 閱讀(5490) | 評論 (0)  編輯
          WebWork/struts2中格式化輸出數字和日期的方法      摘要: struts2中格式化輸出數字和日期的方法

          資源文件
          ......
          #格式化數字或時間輸出
          global.format.date={0,date,yyyy-MM-dd}
          global.format.money={0,number,¥##0.00 '元'}
          ......
          JSP文件
          格式化時間:
          格式化數字:   閱讀全文
          posted @ 2008-01-13 17:46 Ke 閱讀(7367) | 評論 (0)  編輯
          struts2中使用displayTags的問題(ParametersInterceptor - [setParameters]: Unexpected Exception)      摘要: ERROR - ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'd-49653-p' on 'class dgut.ke.actions.SubjectAction: Error setting expression 'd-49653-p' with value '[Ljava.lang.String;@d73256'  閱讀全文
          posted @ 2007-11-17 15:21 Ke 閱讀(10728) | 評論 (12)  編輯

          主站蜘蛛池模板: 新疆| 台前县| 鲁山县| 朝阳县| 长泰县| 虎林市| 水富县| 灌南县| 绥阳县| 凉山| 沅江市| 永仁县| 改则县| 晴隆县| 洛扎县| 离岛区| 乐至县| 禹州市| 克山县| 饶河县| 怀柔区| 措勤县| 驻马店市| 桦甸市| 芷江| 廉江市| 扎兰屯市| 泾源县| 沙洋县| 安泽县| 雷山县| 乌审旗| 金溪县| 千阳县| 衡水市| 霍邱县| 大足县| 吴堡县| 乌兰察布市| 文登市| 津市市|