1、首先运行sql文件,建立测试数据库
2、导入程序,导入lib中jar包
3、打开config下spring-common.xml配置数据源,修改MySQL密码
4、在tomcat服务器上加载项目,访问地址 localhost:8080/tccp
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
采用 Java Web开源架构 Spring+SpringMVC+Mybatis Demo程序 实现增、删、改、查基本功能。 实现Spring+SpringMVC+Mybatis+Mysql的一个整合,实现了SpringMVC控制访问的页面,将得到的页面参数传递给Spring中的Mybatis的bean类,然后查找Mysql数据的功能,并通过JSP显示出来。
资源推荐
资源详情
资源评论
收起资源包目录
spring+springMVC+mybatis——Demo.zip (61个子文件)
测试程序源码
tccp
.settings
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.wst.common.component 450B
org.eclipse.wst.jsdt.ui.superType.container 49B
.jsdtscope 500B
org.eclipse.jdt.core.prefs 364B
src
config
mybatis-config.xml 692B
spring-mvc.xml 2KB
spring-common.xml 2KB
com
tccp
persistence
UserMapper.java 280B
userMapper.xml 1KB
test
UserTest.java 1KB
SpringTest.java 421B
controller
UserController.java 3KB
service
UserService.java 251B
impl
UserServiceImpl.java 968B
entity
User.java 882B
utils
.project 2KB
WebRoot
css
helpdoc
images
META-INF
MANIFEST.MF 36B
WEB-INF
web.xml 2KB
classes
config
mybatis-config.xml 692B
spring-mvc.xml 2KB
spring-common.xml 2KB
com
tccp
persistence
userMapper.xml 1KB
UserMapper.class 384B
test
UserTest.class 2KB
SpringTest.class 933B
controller
UserController.class 3KB
service
UserService.class 382B
impl
UserServiceImpl.class 1KB
entity
User.class 1KB
utils
jsp
addUser.jsp 915B
allUser.jsp 1KB
editUser.jsp 1KB
lib
log
log4j-1.2.16.jar 470KB
commons-logging-1.1.1.jar 59KB
jstl
standard-1.1.2.jar 384KB
jstl.jar 17KB
servlet
servlet-api.jar 130KB
sql
mysql-connector-java-5.1.7-bin.jar 693KB
spring
spring-beans-4.0.0.RELEASE.jar 654KB
spring-core-4.0.0.RELEASE.jar 933KB
spring-jdbc-4.0.0.RELEASE.jar 410KB
spring-context-4.0.0.RELEASE.jar 928KB
spring-test-4.0.0.RELEASE.jar 431KB
spring-webmvc-4.0.0.RELEASE.jar 645KB
spring-aop-4.0.0.RELEASE.jar 343KB
spring-expression-4.0.0.RELEASE.jar 202KB
spring-context-support-4.0.0.RELEASE.jar 131KB
aopalliance.jar 4KB
spring-aspects-4.0.0.RELEASE.jar 50KB
spring-tx-4.0.0.RELEASE.jar 242KB
spring-web-4.0.0.RELEASE.jar 646KB
mybatis
mybatis-spring-1.2.1.jar 48KB
mybatis-3.2.0.jar 684KB
js
jquery-1.7.1.js 242KB
test.jsp 513B
.mymetadata 285B
.classpath 2KB
.myeclipse
使用说明.txt 182B
tccp.sql 964B
共 61 条
- 1
资源评论
Wang-jw
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 937712277954201实习5.word
- 2程序语言基础知识pdf1_1716337722703.jpeg
- 简单的Python示例,演示了如何使用TCP/IP协议进行基本的客户端和服务器通信
- 考试.sql
- keil2 + proteus + 8051.exe
- 1961ee27df03bd4595d28e24b00dde4e_744c805f7e4fb4d40fa3f695bfbab035_8(1).c
- mediapipe-0.9.0.1-cp37-cp37m-win-amd64.whl.zip
- windows注册表编辑工具
- mediapipe-0.9.0.1-cp37-cp37m-win-amd64.whl.zip
- 校园通行码预约管理系统20240522075502
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功