隨筆-75  評論-193  文章-5  trackbacks-0

              給自己做的這個程序起了個名字叫EasyWork,代碼可以從Google Code上下載,具體地址如下:

            http://easywork.googlecode.com/svn/trunk/

            由于時間關系,這個程序還存在不少問題,所以只能供大家參考,有問題不要罵我就行了:)

            簡要使用說明:

            1、開發環境+運行環境:MyEclipse6.0,JDK1.5,Tomcat6.0.14,MySQL5.0

            2、準備好上述環境后,使用下載代碼sql目錄中的easywork_init.sql腳本創建數據庫表和初始數據。

            3、將項目導入Eclipse后,運行Tomcat(此過程就不詳細描述了)。

            4、使用http://localhost/easywork/system/login.jsp訪問登錄頁面,目前還沒有做index.html,默認用戶名/密碼:admin/1。

           

            存在問題如下:

            1、任務管理功能還沒有完全完成,日志記錄還沒有做。

            2、超時或者沒有登錄訪問頁面時,只是報不能訪問的異常,沒有轉入登錄頁面。

            3、對資源類型(菜單、URL、字段、操作)的訪問限制還沒有做。

            4、很多界面的輸入信息校驗沒有做。

            5、基本沒有美工。

            6、總而言之,目前這個項目中的代碼只能做Struts2 + ExtJS如何使用的借鑒:)

          posted on 2009-03-01 11:03 The Matrix 閱讀(6295) 評論(28)  編輯  收藏 所屬分類: Struts2

          評論:
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-03-02 13:09 | wangbing
          能不能發一份到我的email里面,我公司網絡有代理,svn不能用。

          email地址:bingxue2332@163.com

          3ks  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-03-04 11:05 | wholesale
          學習中啊!謝謝分享  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-05 16:23 | 景順長城基金信息技術部
          感謝樓主!!!

            回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-15 19:23 | winie
          你能將功能圖給我么??我想完善·和擴展·行不??xiongshibo136@163.com
            回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-18 22:26 | The Matrix
          @winie
          不好意思,暫時也沒有整理功能圖出來,太忙了。
          要是你想完善和擴展,有什么問題的話,可以多溝通。  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-20 22:20 | iyoi
          你好,我正好想把extjs結合struts2使用,跟你學習學習,但是我從svn下載下來的程序運行的時候出錯,能不能麻煩你發給我一份,iyoi@qq.com,非常感謝!  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-28 14:24 | qinag
          哈哈,想從SVN上檔下來,但是有問題,能發一份給我嗎,謝謝了先。

          email:xkqtest@hotmail.com  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-29 11:23 | qiang
          我又來了,昨天下了源碼看了看。但是出現了tomcat啟動就報錯。java.lang.UnsupportedClassVersionError: Bad version number in .class file
          我查過tomcat的jdk和eclipse的JDK都是1.5跑其它的工程都沒有問題,就這個工程出現了這個錯。
          還有可能是什么原因呢?  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-29 20:33 | llddy
          =2009-04-29 20:30:52,421 [org.hibernate.util.JDBCExceptionReporter]-[ERROR] Unknown column 'sysurl0_.hrefTarget' in 'field list'
          2009-4-29 20:30:52 org.apache.catalina.core.StandardWrapperValve invoke
          嚴重: Servlet.service() for servlet jsp threw exception
            回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-29 20:33 | llddy
          這是什么錯誤幫看一下  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-04-29 20:34 | llddy
          =2009-04-29 20:30:52,421 [org.hibernate.util.JDBCExceptionReporter]-[ERROR] Unknown column 'sysurl0_.hrefTarget' in 'field list'
          2009-4-29 20:30:52 org.apache.catalina.core.StandardWrapperValve invoke
          嚴重: Servlet.service() for servlet jsp threw exception
          javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
          at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:637)
          at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:74)
          at com.bluesky.easywork.base.dao.impl.GenericDaoImpl.queryByPage(GenericDaoImpl.java:81)
          at com.bluesky.easywork.base.dao.impl.GenericDaoImpl.query(GenericDaoImpl.java:42)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
          at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
          at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
          at $Proxy22.query(Unknown Source)
          at com.bluesky.easywork.base.dao.impl.BaseDaoImpl.query(BaseDaoImpl.java:149)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-05-01 21:42 | The Matrix
          這個可能是SysUrl對象對應的EASYWORK_T_RESOURCE_URL表中少了hrefTarget字段,你可以加上試試

          由于最近特忙,所以只能先簡要回答下。  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-05-01 21:43 | The Matrix
          @qiang
          是不是試試JDK1.6呢  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-05-31 08:27 | leeawan
          不太會使用svn,可否發一份完整源代碼給我,正在為權限問題發愁,我現在碰到的一個權限的控制要求是
          人員類型
          a 科室的醫生
          b 醫院用戶
          c 業務員
          D 病人

          b能訪問A,B所能訪問的數據,C因其不同的類型和所屬范圍能訪問不同的A.B.D的數據,就是不單純的是角色和權限,還有一些特殊的情況,都不知道怎么處理了,希望能參考一些你的處理辦法
          leeawan@gmail.com  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼[未登錄] 2009-05-31 18:50 | yang
          不會用svn,能不能在你百忙之中給我發一呀。


          謝謝你呀  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼[未登錄] 2009-05-31 18:51 | yang
          不會用svn,能不能在你百忙之中給我發一呀。

          我的郵箱是:



          yangkezhi110@live.cn  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2009-06-28 12:24 | yangzl
          我也不會用svn,對這個還是第一次看到,比較新奇,
          也希望你能能在你百忙之中給我發一呀。
          我的郵箱是:yangzl0123@163.com
          謝謝了。。。  回復  更多評論
            
          # 可否指導下 ,下面錯誤怎么解決[未登錄] 2009-08-21 21:30 | Jack
          [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysRole]; using defaults.
          =2009-08-21 21:17:14,359 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysPrivilege]; using defaults.
          =2009-08-21 21:17:14,375 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysOperation]; using defaults.
          =2009-08-21 21:17:14,406 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysResourceType]; using defaults.
          =2009-08-21 21:17:14,421 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysDepartment]; using defaults.
          =2009-08-21 21:17:14,500 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysUrl]; using defaults.
          =2009-08-21 21:17:14,531 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysField]; using defaults.
          =2009-08-21 21:17:14,531 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysUser]; using defaults.
          =2009-08-21 21:17:14,578 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysMenu]; using defaults.
          =2009-08-21 21:17:14,593 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [com.bluesky.easywork.system.domain.SysGroup]; using defaults.
          =2009-08-21 21:17:14,859 [org.hibernate.cache.EhCacheProvider]-[WARN] Could not find configuration [org.hibernate.cache.UpdateTimestampsCache]; using defaults.  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2010-01-21 08:32 | 魚中魚
          啟動的時候就報錯了啊,根本運行不了!!!
          說是locate json-easywork 找不到,我看了下struts.xml這個文件有配置,刪了還是有這個錯誤,不知道是那里的問題》
          如果有完整的手冊最好。
          wangqianyfz@163.com  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2010-01-22 15:48 | 鄒亮
          樓主也發一份給我吧,我剛剛學遇到了很困難...我的郵箱是 liangzou@live.cn  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼[未登錄] 2010-02-02 15:29 | aa
          如何下載??
          yunfang88@163.com誰有了給我發份!!!  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼[未登錄] 2010-03-02 12:50 | penwei
          源代碼從GOOGLE CODE上下載能夠運行。但是登錄成功跳轉后的頁面不出來菜單是怎么回事?  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2011-01-07 15:50 | ge
          能給我發一份源碼嗎?
          我的郵箱:wisdom0507@foxmail.com  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2011-05-26 09:26 | Shezhua
          樓主辛苦了。  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼 2012-05-10 17:37 | dandan
          你這個項目有什么用啊,下都下不下來。  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼[未登錄] 2012-08-24 00:07 | 波波
          最近不錯啊。這里資源很好  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼[未登錄] 2013-04-16 20:23 | lh
          樓主辛苦了  回復  更多評論
            
          # re: Struts2 + ExtJS 做的小程序源代碼[未登錄] 2014-03-21 16:25 | change
          我也是@penwei
            回復  更多評論
            

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 三明市| 子长县| 措美县| 宣城市| 高邮市| 禄劝| 邵武市| 营山县| 江门市| 富宁县| 清新县| 高要市| 凌海市| 阳原县| 岑巩县| 中江县| 洪洞县| 沙湾县| 烟台市| 定兴县| 洞口县| 南昌县| 大方县| 达尔| 象州县| 广河县| 肥城市| 金沙县| 天气| 呼和浩特市| 德兴市| 神木县| 麻阳| 平定县| 巴林右旗| 宾阳县| 丹江口市| 镇雄县| 南岸区| 栖霞市| 望江县|