dyl
2014-05-27 00:17:37
原
java SSH员工管理系统以及Demo代码下载
项目截图:
数据库脚本:
1 | CREATE DATABASE `company` default charset=utf8; |
2 | CREATE TABLE `employer` ( |
3 | `id` int (20) unsigned NOT NULL AUTO_INCREMENT, |
4 | ` name ` varchar (20) NOT NULL , |
5 | `address` varchar (50) NOT NULL , |
6 | `create_date` date NOT NULL , |
7 | PRIMARY KEY (`id`) |
8 | ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; |
配置文件:
pom.xml
01 | < project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > |
02 | < modelVersion >4.0.0</ modelVersion > |
03 | < groupId >dyl</ groupId > |
04 | < artifactId >ssh</ artifactId > |
05 | < version >0.0.1-SNAPSHOT</ version > |
06 | < url >http://maven.apache.org</ url > |
07 |
08 | < repositories > |
09 | < repository > |
10 | < id >java</ id > |
11 | < name >java official repository</ name > |
12 | < url >http://download.java.net/maven/2/</ url > |
13 | </ repository > |
14 | </ repositories > |
15 | |
16 | < dependencies > |
17 | < dependency > |
18 | < groupId >com.sun</ groupId > |
19 | < artifactId >tools</ artifactId > |
20 | < version >1.5.0</ version > |
21 | </ dependency > |
22 | |
23 | < dependency > |
24 | < groupId >org.apache.struts</ groupId > |
25 | < artifactId >struts2-core</ artifactId > |
26 | < version >2.1.8</ version > |
27 | </ dependency > |
28 | |
29 | < dependency > |
30 | < groupId >org.apache.struts</ groupId > |
31 | < artifactId >struts2-spring-plugin</ artifactId > |
32 | < version >2.1.8</ version > |
33 | </ dependency > |
34 | |
35 | < dependency > |
36 | < groupId >mysql</ groupId > |
37 | < artifactId >mysql-connector-java</ artifactId > |
38 | < version >5.1.9</ version > |
39 | </ dependency > |
40 | |
41 | < dependency > |
42 | < groupId >org.springframework</ groupId > |
43 | < artifactId >spring</ artifactId > |
44 | < version >2.5.6</ version > |
45 | </ dependency > |
46 | < dependency > |
47 | < groupId >org.springframework</ groupId > |
48 | < artifactId >spring-web</ artifactId > |
49 | < version >2.5.6</ version > |
50 | </ dependency > |
51 | |
52 | < dependency > |
53 | < groupId >org.hibernate</ groupId > |
54 | < artifactId >hibernate</ artifactId > |
55 | < version >3.2.7.ga</ version > |
56 | </ dependency > |
57 | |
58 | <!-- Hibernate core library dependency start --> |
59 | < dependency > |
60 | < groupId >dom4j</ groupId > |
61 | < artifactId >dom4j</ artifactId > |
62 | < version >1.6.1</ version > |
63 | </ dependency > |
64 | |
65 | < dependency > |
66 | < groupId >commons-logging</ groupId > |
67 | < artifactId >commons-logging</ artifactId > |
68 | < version >1.1.1</ version > |
69 | </ dependency > |
70 | |
71 | < dependency > |
72 | < groupId >commons-collections</ groupId > |
73 | < artifactId >commons-collections</ artifactId > |
74 | < version >3.2.1</ version > |
75 | </ dependency > |
76 | |
77 | < dependency > |
78 | < groupId >cglib</ groupId > |
79 | < artifactId >cglib</ artifactId > |
80 | < version >2.1</ version > |
81 | </ dependency > |
82 | |
83 | < dependency > |
84 | < groupId >antlr</ groupId > |
85 | < artifactId >antlr</ artifactId > |
86 | < version >2.7.7</ version > |
87 | </ dependency > |
88 | |
89 | < dependency > |
90 | < groupId >javassist</ groupId > |
91 | < artifactId >javassist</ artifactId > |
92 | < version >3.12.0.GA</ version > |
93 | </ dependency > |
94 | |
95 | </ dependencies > |
96 | </ project > |
web.xml
01 | <? xml version = "1.0" encoding = "UTF-8" ?> |
02 | < web-app xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns = "http://java.sun.com/xml/ns/javaee" xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id = "WebApp_ID" version = "2.5" > |
03 | |
04 | < welcome-file-list > |
05 | < welcome-file >index.html</ welcome-file > |
06 | </ welcome-file-list > |
07 | |
08 | < filter > |
09 | < filter-name >structs-tags</ filter-name > |
10 | < filter-class > |
11 | org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter |
12 | </ filter-class > |
13 | </ filter > |
14 | |
15 | < filter-mapping > |
16 | < filter-name >structs-tags</ filter-name > |
17 | < url-pattern >/*</ url-pattern > |
18 | </ filter-mapping > |
19 | |
20 | < listener > |
21 | < listener-class > |
22 | org.springframework.web.context.ContextLoaderListener |
23 | </ listener-class > |
24 | </ listener > |
25 | < context-param > |
26 | < param-name >contextConfigLocation</ param-name > |
27 | < param-value >/WEB-INF/classes/SpringBeans.xml</ param-value > |
28 | </ context-param > |
29 | |
30 | </ web-app > |
struts.xml
01 | <? xml version = "1.0" encoding = "UTF-8" ?> |
02 | <!DOCTYPE struts PUBLIC |
03 | "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" |
05 | |
06 | < struts > |
07 | < constant name = "struts.action.extension" value = "html" /> |
08 | < constant name = "struts.devMode" value = "true" /> |
09 | |
10 | < package name = "default" namespace = "/" extends = "struts-default" > |
11 | |
12 | < action name = "addEmployer" |
13 | class = "employerAction" method = "addEmployer" > |
14 | < result name = "success" >/WEB-INF/views/Employer.jsp</ result > |
15 | </ action > |
16 | |
17 | < action name = "index" |
18 | class = "employerAction" method = "listCustomer" > |
19 | < result name = "success" >/WEB-INF/views/Employer.jsp</ result > |
20 | </ action > |
21 | |
22 | </ package > |
23 | |
24 | </ struts > |
springBeans.xml
01 | <? xml version = "1.0" encoding = "UTF-8" ?> |
02 | < beans xmlns = "http://www.springframework.org/schema/beans" |
03 | xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" |
04 | xsi:schemaLocation="http://www.springframework.org/schema/beans |
06 | |
07 | < import resource = "./DataSource.xml" /> |
08 | < import resource = "./HibernateSessionFactory.xml" /> |
09 | < import resource = "./EmployerBean.xml" /> |
10 | |
11 | </ beans > |
运行截图:
由最代码官方编辑于2016-10-9 9:59:42
猜你喜欢
- Spring+Spring Mvc+Hibernate+Bootstrap整合实现企业级的员工信息管理系统,带数据库
- 基于SSH技术的crm客户关系管理系统
- SSH学生宿舍管理系统
- java Struts+Hibernate报价管理系统源代码下载
- 基于SSH的Web家庭理财管理系统
- 基于ssm(spring+struts2+mybatis)的会议室管理系统
- ssh开发物流管理系统源代码下载
- SSH整合maven+jquery+easyUI+mysql5.5图书管理实现增删改查及模糊查询
- 基于SSH2开发的图书信息管理系统
- SSH极简新闻发布管理系统
- SSH消息管理系统
- ssh实现的投票管理系统
请下载代码后再发表评论
文件名:ssh.zip,文件大小:19.581K
下载
- /
- /ssh
- /ssh/.classpath
- /ssh/.project
- /ssh/.settings
- /ssh/.settings/.jsdtscope
- /ssh/.settings/org.eclipse.jdt.core.prefs
- /ssh/.settings/org.eclipse.wst.common.component
- /ssh/.settings/org.eclipse.wst.common.project.facet.core.xml
- /ssh/.settings/org.eclipse.wst.jsdt.ui.superType.container
- /ssh/.settings/org.eclipse.wst.jsdt.ui.superType.name
- /ssh/.settings/org.maven.ide.eclipse.prefs
- /ssh/WebContent
- /ssh/WebContent/META-INF
- /ssh/WebContent/META-INF/MANIFEST.MF
- /ssh/WebContent/META-INF
- /ssh/src
- /ssh/src/main
- /ssh/src/main/java
- /ssh/src/main/java/com
- /ssh/src/main/java/com/dyl
- /ssh/src/main/java/com/dyl/Employer
- /ssh/src/main/java/com/dyl/Employer/Controller
- /ssh/src/main/java/com/dyl/Employer/dao
/ssh/src/main/java/com/dyl/Employer/dao/EmployerDao.java
- /ssh/src/main/java/com/dyl/Employer/dao/impl
- /ssh/src/main/java/com/dyl/Employer/model
- /ssh/src/main/java/com/dyl/Employer/service
- /ssh/src/main/java/com/dyl/Employer
- /ssh/src/main/java/com/dyl
- /ssh/src/main/java/com
- /ssh/src/main/java
- /ssh/src/main
- /ssh

- SSH网站实例
- SSH框架开发购物车
- springmvc+spring3.x+hibernate3.x的比较清晰一点的能运行的例子,谢谢
- 原证 基于SSH技术的HR人事管理系统,包含国际化中英文功能
- 证精 java SSH框架开发CRM客户关系管理系统
- 证 SSH+mysql开发电商网站(可直接导入运行)
- 证精 spring+spring mvc+hibernate+bootstrap开发小型物业管理系统
- 原证 基于SSH技术的企业宣传网站,包含SSH分页、上传图片、留言板,JSP聊天室等主要功能,分前后台
- 证精 基于maven多模块构建的spring+spring mvc+hibernate开发cms内容管理系统,包括后台管理系统,对外接口模块,前端项目
- ssh简单的整合实例
- 整合好的SSH项目简单实例
- 原 自己搭的基础SSH框架+ZRTEE展示数据库结构(Myclipse2014+Mysql)

3516569014 LV5
2023年5月7日
liqingzhao6 LV12
2020年8月5日
cxc_123 LV2
2020年6月22日
xuchi123 LV7
2020年5月2日
wanyuxia2526 LV2
2020年3月12日
xuweisong2010 LV28
2020年1月13日
1063091784 LV1
2019年12月22日
shsahhf LV7
2019年12月7日
zhuxxiaoh LV8
2019年12月5日
1242023360 LV10
2019年12月4日