SSM整合笔记
控制层-Springmvc: web.xml springmvc.xml
业务层-Spring aop,事务:applicationContext-transaction.xml
持久层-mybatis:mybatis-config.xml , db.properties,
applicationContext-mapper.xml
Spring: web.xml 监听器加载
一:建库建表
二:新建项目,导入jar包

三;创建项目结构

四:整合mybatis
 
2.创建数据库信息 db.propertis

3.创建applicationContext-mapper.xml
   
五:配置业务层的事务
创建applicationContext-transaction.xml
 
六:整合SpringMVC和Spring
      
2.配置springMVC的DispactherServlet
     
3.配置 springmvc.xml文件
七:测试
 
 

原文:https://www.cnblogs.com/lxn521/p/12558436.html