ssm配置文件说明

现象:
ssm配置文件说明

目录:
这里写图片描述

1:Spring配置文件 :applicationContext.xml :
    配置数据库信息、配置自动扫描mapper文件信息、配置事务、配置ehcache缓存设置、配置freeMarker视图处理

2:SpringMvc配置文件:applicationContext-mvc.xml:
    配置使用注解jar包路径、配置视图解析器、校验器校验错误信息

3:Mybatis配置文件:mybatis-config.xml
    配置sql查询语句的打印、配置PageHelp分页的设置

4:数据配置文件:param.properties   
    配置数据库链接信息等

5:校验信息配置文件:validationMessages.properties
    配置SpringMvc校验提示错误

6:日志配置文件:log4j.properties
    配置日志输出信息

7:ehcache缓存配置文件:ehcache.xml
    配置缓存的信息

8:mybatis自动生成bean配置文件:generatorConfig.xml
    配置mybatis自动生成bean信息

9:maven管理jar包文件:pom.xml
    配置项目使用的jar包的maven引用地址

10:web.xml
    配置项目主页、配置spring配置文件地址、SpringMvc配置文件地址、SpringMvc拦截请求、监听器等

猜你喜欢

转载自blog.csdn.net/hcwbr123/article/details/78422612