- 一、各框架所需要的属性
-
- 1. web.xml
- 2. Spring
- 3. SpringMVC
- 4. MyBatis
- 二、对应配置文件
-
- 1. web.xml
- 2. application.xml
- 3. spring-mvc.xml
- 4. mybatis-config.xml
1. web.xml
-
启动Spring容器:
contextConfigLocation classpath:Spring配置文件
-
配置

1. web.xml
启动Spring容器:
配置