Java项目,使用本地DTD定义文件

来源:互联网 发布:淘宝蜜妃儿女模特是谁 编辑:程序博客网 时间:2024/06/04 19:14

<?xml version="1.0" encoding="UTF-8"?><beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"       xmlns="http://www.springframework.org/schema/beans"       xsi:schemaLocation="        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsdhttp://code.alibabatech.com/schema/dubbo classpath:dubbo.xsd">      ……</beans>


http://code.alibabatech.com/schema/dubbo classpath:dubbo.xsd"
这么配置就可以使用本地的dtd定义文件了
 
原创粉丝点击