【发布时间】:2013-02-26 17:46:07
【问题描述】:
在我使用 Spring 框架的应用程序中,在我的 environment.xml 顶部,我有通常的
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd
">
现在我正在尝试摆脱对这些外部 URL 的依赖,以防它们出现故障。 有没有办法从一些 spring 或任何 java 库加载这些 XML 定义。如果是,那么如何?
【问题讨论】:
标签: xml spring load definition