autowired spring(2)

在beans中增加

xmlns:context=”http://www.springframework.org/schema/context”

在xsi中增加

http://www.springframework.org/schema/context/spring-context-3.0.xsd

则使用<context:annotation-config/>就可以使用autowired自动装配

加载资源配置

config/SqlMapConfig.properties,虚拟主机,服务器空间,美国空间还要高声歌唱。那歌声,一定是响遏流云的,

autowired spring(2)

相关文章:

你感兴趣的文章:

标签云: