SSM基本配置详解,请访问:SSM基本配置详解
依赖
基本配置
1 | <properties> |
1 | <dependencies> |
log4j相关
1 | <!-- log4j --> |
完整
1 | <dependency> |
配置
database
jdbc.properties
1 | jdbc.driver=com.mysql.jdbc.Driver |
spring
applicationContext.xml
1 |
|
springmvc
springMvc.xml
1 |
|
web
web.xml
1 |
|
log
log4j.properties
1 | # Global logging configuration |
mybatis
sqlMapConfig.xml
spring与mybatis整合不需要额外配置mybatis;