SSM框架相关配置信息配置

pom.xml




  4.0.0

  com.lzk
  ssm
  1.0-SNAPSHOT
  war

  ssm Maven Webapp
  
  http://www.example.com

  
    UTF-8
    1.8
    1.8
    4.2.5.RELEASE
    1.2.4
  

  
    
      junit
      junit
      4.11
      test
    

    
    
    
      org.slf4j
      slf4j-api
      1.7.20
    
    
      ch.qos.logback
      logback-core
      1.1.3
    
    
      ch.qos.logback
      logback-classic
      1.1.3
    

    
    
    
      mysql
      mysql-connector-java
      5.1.38
      runtime
    
    
    
      c3p0
      c3p0
      0.9.1.2
    

    
    
    
      org.mybatis
      mybatis
      3.3.1
    
    
    
      org.mybatis
      mybatis-spring
      1.3.0
    

    
    
    
      taglibs
      standard
      1.1.2
    
    
    
      jstl
      jstl
      1.2
    
    
    
      com.fasterxml.jackson.core
      jackson-databind
      2.8.7
    
    
    
      javax.servlet
      javax.servlet-api
      3.1.0
    
    
    
    
      org.springframework
      spring-core
      ${spring.version}
    
    
      org.springframework
      spring-beans
      ${spring.version}
    
    
      org.springframework
      spring-context
      ${spring.version}
    
    
    
      org.springframework
      spring-jdbc
      ${spring.version}
    
    
    
      org.springframework
      spring-tx
      ${spring.version}
    
    
    
      org.springframework
      spring-web
      ${spring.version}
    
    
      org.springframework
      spring-webmvc
      ${spring.version}
    
    
    
      org.springframework
      spring-test
      ${spring.version}
    
  

  
    ssm
    
      
        
          maven-clean-plugin
          3.0.0
        
        
        
          maven-resources-plugin
          3.0.2
        
        
          maven-compiler-plugin
          3.7.0
        
        
          maven-surefire-plugin
          2.20.1
        
        
          maven-war-plugin
          3.2.0
        
        
          maven-install-plugin
          2.5.2
        
        
          maven-deploy-plugin
          2.8.2
        
      
    
  

web.xml




  Archetype Created Web Application

  
  
    DispatcherServlet
    org.springframework.web.servlet.DispatcherServlet
    
      contextConfigLocation
      classpath:spring/*.xml
    
    1
    true
  
  
    DispatcherServlet
    /
  

  
  
    encodingFilter
    org.springframework.web.filter.CharacterEncodingFilter
    
      encoding
      UTF-8
    
  
  
    encodingFilter
    /*
  

spring-controller.xml




    
    

    
    
    
        
        
            
                
                    
                        application/json;charset=utf-8
                        text/html;charset=utf-8
                        
                        application/x-www-form-urlencoded
                    
                
            
            
        
    

    
    
    

    
    
        
        
        
    

spring-service.xml



    
    

    
    
        
    

    
    

jdbc.properties

driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/metaedu-test?useUnicode=true&characterEncoding=UTF-8
user=root
password=root
#定义初始连接数
initialSize=0
#定义最大连接数
maxActive=20
#定义最大空闲
maxIdle=20
#定义最小空闲
minIdle=1
#定义最长等待时间
maxWait=60000

spring-mapper.xml



    
    
    
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
    
    
    
        
        
        
        
        
        
        
        
    

    
    
        
        
        
        
    

mybatis-config.xml




    
    
        
        
        
        
        
        
    

 

你可能感兴趣的:(ssm)