1.创建后台配置文件springmvc-back.xml

 

        
    
    
    
        
        
    



2.创建前台配置文件springmvc-front.xml 

 

        
    
    
    
        
        
    



3.配置web.xml

 
    
        back
        org.springframework.web.servlet.DispatcherServlet
        
            contextConfigLocation
            classpath:springmvc-back.xml
        
         
    
    
        back
        *.do
    
     
    
    
        front
        org.springframework.web.servlet.DispatcherServlet
        
            contextConfigLocation
            classpath:springmvc-front.xml
        
         
    
    
        front
        *.shtml