ssm框架搭建基础项目

上传者: 27387133 | 上传时间: 2022-05-17 21:06:24 | 文件大小: 10.39MB | 文件类型: RAR
本项目是spring,springMVC,Mybatis整合的基础项目,在eclipse中将本项目导入,打开项目中的applicationContext.xml文件,将相关的数据库(Mysql)属性进行修改,由于ssm框架不能自动创建数据库表,所以需要先在数据库中自行创建表category_,字段有id和name,并添加上数据即可。以上步骤完成后,在Tomacat8中运行项目,打开http://localhost:8080/ssm/listCategory即可看到本项目的页面

文件下载

资源详情

[{"title":"( 57 个子文件 10.39MB ) ssm框架搭建基础项目","children":[{"title":"ssm","children":[{"title":"WebContent","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"jsp","children":[{"title":"listCategory.jsp <span style='color:#111;'> 488B </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"junit-4.12.jar <span style='color:#111;'> 307.55KB </span>","children":null,"spread":false},{"title":"com.springsource.org.apache.commons.logging-1.1.1.jar <span style='color:#111;'> 60.02KB </span>","children":null,"spread":false},{"title":"jackson-annotations-2.5.0.jar <span style='color:#111;'> 38.88KB </span>","children":null,"spread":false},{"title":"spring-aop-3.2.16.RELEASE.jar <span style='color:#111;'> 330.72KB </span>","children":null,"spread":false},{"title":"hamcrest-all-1.3.jar <span style='color:#111;'> 299.39KB </span>","children":null,"spread":false},{"title":"spring-webmvc-3.2.16.RELEASE.jar <span style='color:#111;'> 627.20KB </span>","children":null,"spread":false},{"title":"spring-jdbc-3.2.16.RELEASE.jar <span style='color:#111;'> 396.90KB </span>","children":null,"spread":false},{"title":"druid-1.0.15.jar <span style='color:#111;'> 1.86MB </span>","children":null,"spread":false},{"title":"com.springsource.org.apache.log4j-1.2.15.jar <span style='color:#111;'> 387.42KB </span>","children":null,"spread":false},{"title":"spring-expression-3.2.16.RELEASE.jar <span style='color:#111;'> 191.96KB </span>","children":null,"spread":false},{"title":"jackson-core-2.5.4.jar <span style='color:#111;'> 224.61KB </span>","children":null,"spread":false},{"title":"servlet-api.jar <span style='color:#111;'> 193.40KB </span>","children":null,"spread":false},{"title":"com.springsource.org.aopalliance-1.0.0.jar <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.1.6-bin.jar <span style='color:#111;'> 686.78KB </span>","children":null,"spread":false},{"title":"spring-test-3.2.16.RELEASE.jar <span style='color:#111;'> 447.62KB </span>","children":null,"spread":false},{"title":"spring-aspects-3.2.16.RELEASE.jar <span style='color:#111;'> 50.23KB </span>","children":null,"spread":false},{"title":"spring-tx-3.2.16.RELEASE.jar <span style='color:#111;'> 236.88KB </span>","children":null,"spread":false},{"title":"mybatis-spring-1.2.3.jar <span style='color:#111;'> 49.87KB </span>","children":null,"spread":false},{"title":"spring-core-3.2.16.RELEASE.jar <span style='color:#111;'> 865.23KB </span>","children":null,"spread":false},{"title":"spring-beans-3.2.16.RELEASE.jar <span style='color:#111;'> 599.96KB </span>","children":null,"spread":false},{"title":"jstl-1.2.jar <span style='color:#111;'> 404.53KB </span>","children":null,"spread":false},{"title":"jackson-databind-2.5.4.jar <span style='color:#111;'> 1.09MB </span>","children":null,"spread":false},{"title":"spring-context-3.2.16.RELEASE.jar <span style='color:#111;'> 848.15KB </span>","children":null,"spread":false},{"title":"spring-web-3.2.16.RELEASE.jar <span style='color:#111;'> 616.76KB </span>","children":null,"spread":false},{"title":"fastjson-1.2.7.jar <span style='color:#111;'> 407.44KB </span>","children":null,"spread":false},{"title":"mybatis-3.1.1.jar <span style='color:#111;'> 636.37KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"log4j.properties <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"how2java","children":[{"title":"test","children":[{"title":"MybatisTest.java <span style='color:#111;'> 929B </span>","children":null,"spread":false}],"spread":true},{"title":"pojo","children":[{"title":"Category.java <span style='color:#111;'> 412B </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"Category.xml <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"CategoryMapper.java <span style='color:#111;'> 464B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"CategoryController.java <span style='color:#111;'> 846B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"CategoryService.java <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"CategoryServiceImpl.java <span style='color:#111;'> 506B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"springMVC.xml <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 588B </span>","children":null,"spread":false},{"title":"build","children":[{"title":"classes","children":[{"title":"log4j.properties <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"how2java","children":[{"title":"test","children":[{"title":"MybatisTest.class <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false}],"spread":true},{"title":"pojo","children":[{"title":"Category.class <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"Category.xml <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"CategoryMapper.class <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"CategoryController.class <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"CategoryService.class <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"CategoryServiceImpl.class <span style='color:#111;'> 821B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"springMVC.xml <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明