隨筆 - 6  文章 - 129  trackbacks - 0
          <2025年5月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          常用鏈接

          留言簿(14)

          隨筆檔案(6)

          文章分類(467)

          文章檔案(423)

          相冊

          收藏夾(18)

          JAVA

          搜索

          •  

          積分與排名

          • 積分 - 825144
          • 排名 - 49

          最新評論

          閱讀排行榜

          評論排行榜

          struts 2
          struts2 + spring, 使用session範(fàn)圍的Bean的配置事項(xiàng)      摘要: 異常信息:
          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 閱讀(1881) | 評論 (1)  編輯
          struts2解決No configuration found for the specified action 異常      摘要: 錯(cuò)誤信息:
          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 閱讀(586) | 評論 (0)  編輯
          struts2+spring+hibernate 懶加載異常:org.hibernate.LazyInitializationException: failed to lazily initialize      摘要: 用OpenSessionInViewFilter過濾器,注意hibernateFilter過濾器和struts2過濾器在映射時(shí)的先后順序。同時(shí)要配置事物處理,否則會導(dǎo)致session處于只讀狀態(tài)而不能做修改、刪除的動作。  閱讀全文
          posted @ 2011-07-13 13:55 Ke 閱讀(1179) | 評論 (0)  編輯
          [轉(zhuǎn)]Cannot serialize session attribute--問題的解決      摘要: Tomcat 問題: Cannot serialize session attribute XXX for ..的解決辦法

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

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

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

          3. Struts2 開發(fā)包;

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

          資源文件
          ......
          #格式化數(shù)字或時(shí)間輸出
          global.format.date={0,date,yyyy-MM-dd}
          global.format.money={0,number,¥##0.00 '元'}
          ......
          JSP文件
          格式化時(shí)間:
          格式化數(shù)字:   閱讀全文
          posted @ 2008-01-13 17:46 Ke 閱讀(7363) | 評論 (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 閱讀(10716) | 評論 (12)  編輯

          主站蜘蛛池模板: 城口县| 门头沟区| 莫力| 牙克石市| 神木县| 红安县| 九龙城区| 遵义市| 大港区| 密云县| 咸阳市| 祁阳县| 溧阳市| 都兰县| 黑河市| 张家界市| 南华县| 易门县| 宁南县| 石屏县| 天峻县| 佳木斯市| 连州市| 襄樊市| 漳平市| 土默特右旗| 莱芜市| 临清市| 灵璧县| 镇巴县| 常德市| 常州市| 青铜峡市| 涪陵区| 宁海县| 渝北区| 朝阳县| 遂川县| 简阳市| 崇礼县| 敦化市|