maven项目xml链接数据库dao代码,service,web层配置文件


        



maven项目xml链接数据库dao代码,service,web层配置文件_第1张图片
applicationcontext配置



    
    
    
        
        
        
        
    

    
    
        
        
        
    

    
    
        
    
    


    

    
    

    
    
    
        
    
    
    
        
            
            
            
            
            
        
    

    
    
        
        
    
    






springMVC配置




    
    

    
    

    
    
        
        
    

    
    



web.xlm的配置





    
    
        encoding
        org.springframework.web.filter.CharacterEncodingFilter
        
            encoding
            UTF-8
        
        
            forceEncoding
            true
        
    
    
        encoding
        /*
    
    
    
    
        org.springframework.web.context.ContextLoaderListener
    
    
    
        contextConfigLocation
        classpath:applicationContext.xml
    

    
    
        springmvc
        org.springframework.web.servlet.DispatcherServlet
        
            contextConfigLocation
            classpath:springmvc.xml
        
        1
    
    
        springmvc
        /
    


pom.xml配置




  4.0.0

  com.itheima
  maven_day02_1
  1.0-SNAPSHOT
  war


  
    
    
      5.0.2.RELEASE
      1.6.6
      1.2.12
      1.2.3
      5.1.6
      3.4.5
      5.0.1.RELEASE
    

    
    
    
      
        
          org.springframework
          spring-context
          ${spring.version}
        
        
          org.springframework
          spring-web
          ${spring.version}
        
        
          org.springframework
          spring-webmvc
          ${spring.version}
        
        
          org.springframework
          spring-tx
          ${spring.version}
        
        
          org.springframework
          spring-test
          ${spring.version}
        
        
          org.mybatis
          mybatis
          ${mybatis.version}
        
      
    

    
    
      
      
        org.aspectj
        aspectjweaver
        1.6.8
      
      
        org.springframework
        spring-aop
        ${spring.version}
      
      
        org.springframework
        spring-context
        ${spring.version}
      
      
        org.springframework
        spring-context-support
        ${spring.version}
      
      
        org.springframework
        spring-web
        ${spring.version}
      
      
        org.springframework
        spring-orm
        ${spring.version}
      
      
        org.springframework
        spring-beans
        ${spring.version}
      
      
        org.springframework
        spring-core
        ${spring.version}
      
      
        org.springframework
        spring-test
        ${spring.version}
      
      
        org.springframework
        spring-webmvc
        ${spring.version}
      
      
        org.springframework
        spring-tx
        ${spring.version}
      
      
        junit
        junit
        4.12
        test
      
      
        mysql
        mysql-connector-java
        ${mysql.version}
      
      
        javax.servlet
        javax.servlet-api
        3.1.0
        provided
      
      
        javax.servlet.jsp
        jsp-api
        2.0
        provided
      
      
        jstl
        jstl
        1.2
      
      
      
        log4j
        log4j
        ${log4j.version}
      
      
        org.slf4j
        slf4j-api
        ${slf4j.version}
      
      
        org.slf4j
        slf4j-log4j12
        ${slf4j.version}
      
      
      
        org.mybatis
        mybatis
        ${mybatis.version}
      
      
        org.mybatis
        mybatis-spring
        1.3.0
      
      
        c3p0
        c3p0
        0.9.1.2
        jar
        compile
      
      
        com.github.pagehelper
        pagehelper
        5.1.2
      
      
        org.springframework.security
        spring-security-web
        ${spring.security.version}
      
      
        org.springframework.security
        spring-security-config
        ${spring.security.version}
      
      
        org.springframework.security
        spring-security-core
        ${spring.security.version}
      
      
        org.springframework.security
        spring-security-taglibs
        ${spring.security.version}
      
      
        com.alibaba
        druid
        1.0.9
      
      
        junit
        junit
        4.12
      
    
    
    
      
        
          org.apache.tomcat.maven
          tomcat7-maven-plugin
          2.2
        
      
    


你可能感兴趣的:(maven项目xml链接数据库dao代码,service,web层配置文件)