SpringMVC的pom.xml、xxx-servelt.xml、web.xml

pom.xml 




    4.0.0
    war



    untitled1
    com.rbynode
    untitled1
    1.0-SNAPSHOT


    
        
            
                org.apache.maven.plugins
                maven-war-plugin
                3.3.2
                
                    false
                
            
            
                org.mortbay.jetty
                maven-jetty-plugin
                6.1.7
                
                    
                        
                            8888
                            30000
                        
                    
                    ${project.build.directory}/${pom.artifactId}-${pom.version}
                    
                    /
                
            
        
    

    
        
        
            org.springframework
            spring-webmvc
            5.3.23
        

        
        
            ch.qos.logback
            logback-classic
            1.2.3
        

        
        
            javax.servlet
            javax.servlet-api
            3.1.0
            provided
        

        
        
            org.thymeleaf
            thymeleaf-spring5
            3.0.12.RELEASE
        

    


web.xml





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


        

xxx-servlet.xml




    

    
    
        
        
        
            
                
                    

                        
                        

                        
                        
                        
                        
                    
                
            
        
    

你可能感兴趣的:(xml,SpringMVC)