posted @ 2011-05-22 09:58 石子路口 閱讀(196) | 評論 (0) | 編輯 收藏
posted @ 2011-05-09 09:11 石子路口 閱讀(193) | 評論 (0) | 編輯 收藏
閱讀全文
posted @ 2011-05-05 00:27 石子路口 閱讀(2362) | 評論 (3) | 編輯 收藏
posted @ 2011-04-27 17:19 石子路口 閱讀(1765) | 評論 (0) | 編輯 收藏
1. 環境:jbpm3.2.3+struts2+spring3+hibernate 工具:myeclipse6.5
2. 環境和工具都準備好,開始新建數據庫,前面jbpm3數據庫表的創建與解釋有說明
3. 使用spring配置數據源,applicationContext.xml 閱讀全文
posted @ 2011-04-26 11:30 石子路口 閱讀(2159) | 評論 (0) | 編輯 收藏
posted @ 2011-04-22 16:09 石子路口 閱讀(1390) | 評論 (1) | 編輯 收藏
上一篇文章中有jbpm的數據庫初始化,可參考http://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/13/348254.html
STEP 2,準備發布包
閱讀全文
posted @ 2011-04-20 23:45 石子路口 閱讀(1499) | 評論 (0) | 編輯 收藏
創建:在下載的源碼中找到db文件夾,打開jbpm.jpdl.mysql.sql,這個sql語句是直接在mysql中會被識別成語法錯誤的,所以要在每行后面加“;”,然后執行
閱讀全文
posted @ 2011-04-13 22:25 石子路口 閱讀(1891) | 評論 (0) | 編輯 收藏
posted @ 2011-03-07 20:52 石子路口 閱讀(1444) | 評論 (0) | 編輯 收藏
1. flex在myeclipse中的插件,http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe,大約有348M,右鍵使用迅雷下載即可。
………… 閱讀全文
posted @ 2011-03-05 13:18 石子路口 閱讀(1510) | 評論 (1) | 編輯 收藏
posted @ 2011-03-03 15:34 石子路口 閱讀(1200) | 評論 (0) | 編輯 收藏
1. 首先新建listener, 我這里繼承了HttpSessionListener和ServletContextListener。并通過這個方法獲取bean
閱讀全文
posted @ 2010-11-21 16:44 石子路口 閱讀(688) | 評論 (0) | 編輯 收藏
posted @ 2010-11-13 11:02 石子路口 閱讀(503) | 評論 (0) | 編輯 收藏
posted @ 2010-11-13 10:50 石子路口 閱讀(495) | 評論 (0) | 編輯 收藏
posted @ 2010-11-12 11:09 石子路口 閱讀(182) | 評論 (0) | 編輯 收藏
posted @ 2010-11-09 23:06 石子路口 閱讀(163) | 評論 (0) | 編輯 收藏
posted @ 2010-11-04 22:26 石子路口 閱讀(168) | 評論 (0) | 編輯 收藏
posted @ 2010-11-03 21:20 石子路口 閱讀(149) | 評論 (0) | 編輯 收藏
posted @ 2010-11-02 22:12 石子路口 閱讀(166) | 評論 (0) | 編輯 收藏
posted @ 2010-11-02 08:54 石子路口 閱讀(157) | 評論 (0) | 編輯 收藏
posted @ 2010-10-25 23:00 石子路口 閱讀(2252) | 評論 (3) | 編輯 收藏
原來由一個jar包:jsonplugin.jar ,就是在lib中放置好這個包后,在struts.xml中引用“json-default”,并配置action的type為json即可。
閱讀全文
posted @ 2010-10-24 23:01 石子路口 閱讀(184) | 評論 (0) | 編輯 收藏
看樣子應該仔細學習一遍struts2的標簽 閱讀全文
posted @ 2010-10-19 11:50 石子路口 閱讀(156) | 評論 (0) | 編輯 收藏
閱讀全文
posted @ 2010-10-17 22:35 石子路口 閱讀(419) | 評論 (0) | 編輯 收藏
但這三種方法都遇到了致命的問題:
閱讀全文
posted @ 2010-10-17 22:24 石子路口 閱讀(1163) | 評論 (1) | 編輯 收藏
閱讀全文
posted @ 2010-10-17 21:54 石子路口 閱讀(598) | 評論 (0) | 編輯 收藏
今天算是告一段路了,除了幾個需要進一步考察的解決方式外,自己的功能模塊基本寫完,而且已經開始著手已退出隊員負責的部分代碼,這些模塊功能類似,寫起來也比以前順暢了好多。所以有些時間可以整理一下這幾天的工作情況和所寫所得。 閱讀全文
posted @ 2010-10-17 19:57 石子路口 閱讀(138) | 評論 (0) | 編輯 收藏
ActionContext ctx = ActionContext.getContext();
String teaUsername = (String) ctx.getSession().get("username");
只有用下面的方法才能順利獲得session中的值
org.directwebremoting.WebContext web = WebContextFactory.get();
// 得到servlet中的request/response對象
javax.servlet.http.HttpServletRequest request = web.getHttpServletRequest();
javax.servlet.http.HttpServletResponse response = web.getHttpServletResponse();
// 在此可提取request中相關請求參數...
// 取得s 閱讀全文
posted @ 2010-10-14 23:19 石子路口 閱讀(1421) | 評論 (2) | 編輯 收藏
目的:打開頁面時自動刷新課程,而當選擇另外的課程時,欄目下拉框會發生相應變化。
閱讀全文
posted @ 2010-10-12 22:34 石子路口 閱讀(1817) | 評論 (0) | 編輯 收藏
前臺使用jsp,插件有fckeditor,后臺數據庫使用mysql,可視化工具sqlyog。這里用utf-8編碼。現在開始配置:
閱讀全文
posted @ 2010-10-12 22:12 石子路口 閱讀(2788) | 評論 (0) | 編輯 收藏
posted @ 2010-10-11 00:11 石子路口 閱讀(144) | 評論 (0) | 編輯 收藏
IDE:MyEclipse6.5
框架:Struts2+spring+hibernate
步驟:
1. 在fckeditor的官方網站http://ckeditor.com/download下載FCKeditor_2.5.1.zip和FCKeditor-2.3.zip(for java),版本不同內容不同
2. 在MyEclipse中新建web項目,我的叫做wsjx
3. 解壓縮兩個文件,把FCKeditor_2.5.1.zip解壓出來的fckeditor文件夾放在WebRoot目錄下,把FCKeditor-2.3.zip(for java)解壓出來的web下的WEB-INF下的lib目錄中的commons-fileupload.jar和FCKeditor-2.3.jar兩個jar包拷到項目的lib目錄下,把FCKeditor-2.3.zip(for java)解壓出來的src目錄下的FCKeditor.tld拷貝到項目的WEB-IN 閱讀全文
posted @ 2010-10-10 00:04 石子路口 閱讀(2592) | 評論 (3) | 編輯 收藏
posted @ 2010-10-08 19:10 石子路口 閱讀(1786) | 評論 (2) | 編輯 收藏
閱讀全文
posted @ 2010-10-06 18:38 石子路口 閱讀(2692) | 評論 (3) | 編輯 收藏
posted @ 2010-10-05 23:33 石子路口 閱讀(1508) | 評論 (0) | 編輯 收藏
閱讀全文
posted @ 2010-10-05 00:29 石子路口 閱讀(1885) | 評論 (0) | 編輯 收藏