项目整体架构
applicationContext-dao.xml中详细配置信息
applicationContext-MVC.xml中详细配置信息
text/html;charset=UTF-8
application/json;charset=UTF-8
text/html;charset=UTF-8
application/json;charset=UTF-8
applicationContext-spring.xml中详细配置信息
log4j.properties配置文件
#设置Logger输出级别和输出目的地
log4j.rootLogger=DEBUG, Console ,logfile
#Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p [%c] - %m%n
log4j.logger.java.sql.ResultSet=INFO
log4j.logger.org.apache=INFO
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
### 把日志信息输出到文件###
log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender
log4j.appender.logfile.File=qf.log
log4j.appender.logfile.DatePattern = '.'yyyy-MM-dd
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %l %F %p %m%n
web.xml中配置详细信息
home.jsp
contextConfigLocation
classpath:applicationContext-spring.xml
org.springframework.web.context.ContextLoaderListener
springmvc
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:applicationContext-MVC.xml
1
springmvc
*.action
characterEncodingFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
utf-8
forceEncoding
true
characterEncodingFilter
/*
pom.xml文件中详细配置信息
4.0.0
com.qf.shoppingcenter
ShoppingCenterlianxi
1.0-SNAPSHOT
war
ShoppingCenterlianxi Maven Webapp
http://www.example.com
UTF-8
1.7
1.7
junit
junit
4.12
test
javax.servlet
javax.servlet-api
3.1.0
provided
javax.servlet
jsp-api
2.0
provided
javax.servlet
jstl
1.2
taglibs
standard
1.1.2
mysql
mysql-connector-java
5.1.38
com.mchange
mchange-commons-java
0.2.11
com.mchange
c3p0
0.9.5.2
org.springframework
spring-core
5.1.3.RELEASE
org.springframework
spring-beans
5.1.3.RELEASE
org.springframework
spring-context
5.1.3.RELEASE
org.springframework
spring-context-support
5.1.3.RELEASE
org.springframework
spring-aspects
5.1.3.RELEASE
org.springframework
spring-expression
5.1.3.RELEASE
org.springframework
spring-orm
5.1.3.RELEASE
org.springframework
spring-tx
5.1.3.RELEASE
org.springframework
spring-web
5.1.3.RELEASE
org.springframework
spring-webmvc
5.1.3.RELEASE
com.fasterxml.jackson.core
jackson-core
2.9.10
com.fasterxml.jackson.core
jackson-databind
2.9.10
com.fasterxml.jackson.core
jackson-annotations
2.9.10
com.alibaba
fastjson
1.2.5
commons-io
commons-io
1.4
commons-fileupload
commons-fileupload
1.3.1
org.thymeleaf
thymeleaf
3.0.11.RELEASE
org.thymeleaf
thymeleaf-spring5
3.0.11.RELEASE
org.mybatis
mybatis
3.4.5
org.mybatis
mybatis-spring
1.3.1
org.mybatis.caches
mybatis-ehcache
1.1.0
org.mybatis.generator
mybatis-generator-core
1.3.5
org.projectlombok
lombok
1.16.20
org.slf4j
slf4j-api
1.7.7
org.slf4j
slf4j-log4j12
1.7.7
commons-logging
commons-logging-api
1.1
log4j
log4j
1.2.14
ShoppingCenterlianxi
maven-clean-plugin
3.1.0
maven-resources-plugin
3.0.2
maven-compiler-plugin
3.8.0
maven-surefire-plugin
2.22.1
maven-war-plugin
3.2.2
maven-install-plugin
2.5.2
maven-deploy-plugin
2.8.2
org.apache.tomcat.maven
tomcat7-maven-plugin
2.2
/ShoppingCenterlianxi
8888
utf-8
org.apache.maven.plugins
maven-compiler-plugin
3.1
1.8
UTF-8
org.mybatis.generator
mybatis-generator-maven-plugin
1.3.5
true
true
src/main/resources
src/main/java
**/*.properties
**/*.xml
false