我的 , 中有一个servlet.xml
条目
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr
现在,我认为dwr是我们要使用的前缀,比如
<dwr:configuration>
<dwr:convert type="bean" class="com.abc.bean.MyBean" />
</dwr:configuration>
现在的问题是,如果站点http://www.directwebremoting.org已关闭,那么我的应用程序将无法创建 bean。
每次 beanfactory 创建 bean 时都会访问这个网站吗?
有什么替代方法可以让我使用 dwr,而无需访问他们的网站?
完整的标题:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.directwebremoting.org/schema/spring-dwr
http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">