ssm框架基础配置(文件)

ssm框架基础配置
  ***************************
pom.xml
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
lemon
blog_ssm
war
0.0.1-SNAPSHOT
blog_ssm Maven Webapp
http://maven.apache.org;
4.3.9.RELEASE
3.2.6
1.7.7
1.2.17
UTF-8

junit
junit
4.12

org.springframework
spring-core
${spring.version}

org.springframework
spring-web
${spring.version}
org.springframework
spring-oxm
${spring.version}
org.springframework
spring-tx
${spring.version}

org.springframework
spring-jdbc
${spring.version}

org.springframework
spring-webmvc
${spring.version}
org.springframework
spring-aop
${spring.version}

org.springframework
spring-context-support
${spring.version}

org.springframework
spring-test
${spring.version}
org.mybatis
mybatis
${mybatis.version}
org.mybatis
mybatis-spring
1.2.2

javax
javaee-api
7.0

mysql
mysql-connector-java
5.1.36
commons-dbcp
commons-dbcp
1.2.2

jstl
jstl
1.2
log4j
log4j
${log4j.version}


com.alibaba
fastjson
1.1.41


org.slf4j
slf4j-api
${slf4j.version}

org.slf4j
slf4j-log4j12
${slf4j.version}
org.codehaus.jackson
jackson-mapper-asl
1.9.13
commons-fileupload
commons-fileupload
1.3.1
commons-io
commons-io
2.4
commons-codec
commons-codec
1.9
org.hibernate
hibernate-validator
5.4.1.Final

blog_ssm
org.apache.maven.plugins
maven-compiler-plugin
3.0
1.8
1.8
utf-8


*****************************************
mybatis-config.xml

 PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
 "http://mybatis.org/dtd/mybatis-3-config.dtd">
*****************************************
spring-config.xml

xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
 http://www.springframework.org/schema/beans/spring-beans.xsd
 http://www.springframework.org/schema/context
 http://www.springframework.org/schema/context/spring-context.xsd
 http://www.springframework.org/schema/tx
 http://www.springframework.org/schema/tx/spring-tx.xsd
 ">
 
 
 
 
*****************************************
spring-mvc.xml

xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
 http://www.springframework.org/schema/beans/spring-beans.xsd
 http://www.springframework.org/schema/context
 http://www.springframework.org/schema/context/spring-context.xsd
 http://www.springframework.org/schema/mvc
 http://www.springframework.org/schema/mvc/spring-mvc.xsd
 ">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
*****************************************
web.xml

xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">
blog_ssm
org.springframework.web.context.ContextLoaderListener
contextConfigLocation
classpath:spring-config.xml
springmvc
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:spring-mvc.xml
1
springmvc
/
characterFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
utf-8
forceEncoding
true
characterFilter
/*
index.jsp

你可能感兴趣的:(ssm框架基础配置(文件))