目录
一、构建ssm需要做什么
1.创建maven.web项目
2.配置pom.xml文件
3.实现spring+mybatis整合
- 创建pojo
- 持久层dao接口编写
- mapper映射文件编写
- 业务层service编写
- spring配置文件applicationContext-dao.xml编写
- spring配置文件applicationContext-service.xml编写
4.加入springmvc相关配置
- controller编写
- springmvc.xml编写
- jsp编写
- web.xml