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

          常用鏈接

          留言簿(14)

          隨筆檔案(6)

          文章分類(467)

          文章檔案(423)

          相冊

          收藏夾(18)

          JAVA

          搜索

          •  

          積分與排名

          • 積分 - 827156
          • 排名 - 49

          最新評論

          閱讀排行榜

          評論排行榜

          11 2007 檔案

          在Servlet中調用spring中定義的Bean
               摘要: WebApplicationContextUtils.getRequiredWebApplicationContext(getServletContext()).getBean("bookService");  閱讀全文

          posted @ 2007-11-25 13:42 Ke 閱讀(3023) | 評論 (2)  編輯

          Struts 2與AJAX(第三部分)

          posted @ 2007-11-24 00:05 Ke 閱讀(439) | 評論 (0)  編輯

          Struts2攔截器的使用

          posted @ 2007-11-23 10:35 Ke 閱讀(2391) | 評論 (0)  編輯

          表單標志使用小技巧

          posted @ 2007-11-23 10:33 Ke 閱讀(330) | 評論 (0)  編輯

          struts2表單(method=get)亂碼問題
               摘要: 今天在做圖書查詢時,想讓查詢的條件通過GET的方式提交到相應的action里.

          問題是中文數據提交到action里都成了亂碼.

          用post提交時,并不會出現上面提到的亂碼問題.

          請問該怎樣解決提交用GET提交的亂碼問題?
            閱讀全文

          posted @ 2007-11-22 14:14 Ke 閱讀(4201) | 評論 (4)  編輯

          用javascript取得當前頁面的url路徑

          posted @ 2007-11-18 14:58 Ke 閱讀(846) | 評論 (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)  編輯

          Java中的內部類和匿名類
               摘要: 內部類:一個內部類的定義是定義在另一個內部的類。
          原因是:
          1.一個內部類的對象能夠訪問創建它的對象的實現,包括私有數據。
          2.對于同一個包中的其他類來說,內部類能夠隱藏起來。
          3.匿名內部類可以很方便的定義回調。
          4.使用內部類可以非常方便的編寫事件驅動程序。  閱讀全文

          posted @ 2007-11-16 22:57 Ke 閱讀(304) | 評論 (0)  編輯

          申明式事務和OpenSessionInView
               摘要: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
            閱讀全文

          posted @ 2007-11-16 16:51 Ke 閱讀(1951) | 評論 (0)  編輯

          spring發送純文本文件郵件

          posted @ 2007-11-15 22:35 Ke 閱讀(414) | 評論 (0)  編輯

          DisplayTag應用指南

          posted @ 2007-11-14 20:08 Ke 閱讀(370) | 評論 (0)  編輯

          關于displaytag1.1的兩種分頁

          posted @ 2007-11-14 19:55 Ke 閱讀(443) | 評論 (0)  編輯

          表字段使用了關鍵字導致數據插入發生異常
               摘要: ERROR - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show, updateTime, id) values ('2c9ab2d51637c2ca0116380396f80009', '2c9ab2d516382' at line 1
          ERROR - Could not synchronize database state with session  閱讀全文

          posted @ 2007-11-13 17:07 Ke 閱讀(1016) | 評論 (0)  編輯

          Struts 2中的OGNL

          posted @ 2007-11-12 14:08 Ke 閱讀(544) | 評論 (1)  編輯

          XML schema 中 elementFormDefault

          posted @ 2007-11-11 11:30 Ke 閱讀(560) | 評論 (0)  編輯

          批量抓取

          posted @ 2007-11-06 16:19 Ke 閱讀(352) | 評論 (0)  編輯

          外連接與預先抓取的區別(摘抄于hibernate開發及整合應用大全)

          posted @ 2007-11-06 15:08 Ke 閱讀(1205) | 評論 (0)  編輯

          Hibernate配置屬性 (hibernate.max_fetch_depth)

          posted @ 2007-11-06 14:04 Ke 閱讀(6729) | 評論 (0)  編輯

          使用JSTL標簽簡化分頁顯示

          posted @ 2007-11-05 17:14 Ke 閱讀(65) | 評論 (0)  編輯

          使用Hibernate.initialize(Object obj)方法初始化一個代理對象或者集合

          posted @ 2007-11-03 22:17 Ke 閱讀(5337) | 評論 (1)  編輯

          Hibernate延遲加載
               摘要: 對one-to-one 關系進行延遲加載和其他關系相比稍微有些不同。many-to-one 的延遲加載是在配置文件的class 標簽
          上設置 lazy="true" ,one-to-many 和 many-to-many 的延遲加載是在 set 標簽中設置lazy="true"。而one-to-one 不只要在 classs
          標簽設置 lazy="true",而且要在one-to-one 標簽中設置constrained="true" 。
          如果不設置constrained="true",則一對一查詢使用默認的預先抓取策略(fetch="join")
            閱讀全文

          posted @ 2007-11-03 21:13 Ke 閱讀(1941) | 評論 (0)  編輯

          主站蜘蛛池模板: 崇礼县| 井冈山市| 闵行区| 定陶县| 岳普湖县| 西充县| 贺州市| 客服| 巨野县| 东丽区| 临汾市| 丰城市| 固镇县| 大丰市| 闵行区| 搜索| 龙陵县| 施甸县| 隆昌县| 叙永县| 瑞金市| 旬邑县| 江达县| 福建省| 乌鲁木齐县| 北京市| 卫辉市| 蓝田县| 宁蒗| 阜南县| 政和县| 吕梁市| 林州市| 尉犁县| 平度市| 沙洋县| 大渡口区| 大厂| 四子王旗| 江陵县| 普安县|