spring文件头复制的来源

来源:互联网 发布:clock页面置换算法 编辑:程序博客网 时间:2024/05/21 20:01

其实从文件头可以看出这些xsd文件都是spring官网的一个目录下,http://www.springframework.org/schema/,所以打开这个地址就可以看到各个版本的xsd了,根据自己所需要的,选择就可以了,文件头格式按网上的来就可以了。

<beans xmlns="http://www.springframework.org/schema/beans"  
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"  
        xmlns:context="http://www.springframework.org/schema/context"  
        xmlns:mvc="http://www.springframework.org/schema/mvc"  
        xmlns:aop="http://www.springframework.org/schema/aop"
        xsi:schemaLocation="http://www.springframework.org/schema/beans    
                            http://www.springframework.org/schema/beans/spring-beans-4.0.xsd    
                     http://www.springframework.org/schema/aop 
                     http://www.springframework.org/schema/aop/spring-aop.xsd
                            http://www.springframework.org/schema/context    
                            http://www.springframework.org/schema/context/spring-context-4.0.xsd    
                            http://www.springframework.org/schema/mvc    
                            http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">  


原创粉丝点击