摘要:
该文章只供自己参考,对其他人没帮助,别浪费您的时间! 1.在applicationContext.xml中加入context的命名空间和对应的schemaLocation xmlns:context="http://www.springframework.org/schema/context" xs 阅读全文
posted @ 2013-04-05 09:32
NewObject_1
阅读(699)
评论(0)
推荐(0)
摘要:
见韩顺平的spring 第12讲她 把原本需要在<bean><property name="${username}" value="${password}"/><bean> 中配置的property放在一个a.properties文件中,自己通过el表达式取值。其中,a.properties的初始化通过spring 提供的特殊bean ----PropertyPlaceHolderConfigure(分散配置bean)来处理。不需要写什么,只需要配置下下就好了:<bean class="org....P 阅读全文
posted @ 2013-04-05 08:01
NewObject_1
阅读(350)
评论(0)
推荐(0)

浙公网安备 33010602011771号