摘要: spring管理属性配置文件properties——使用PropertiesFactoryBean 对于属性配置,一般采用的是键值对的形式,如:key=value属性配置文件一般使用的是XXX.properties,当然有时候为了避免eclipse把properties文件转码,放到服务器上认不出中 阅读全文
posted @ 2017-01-11 14:45 不苦先生 阅读(6491) 评论(1) 推荐(0) 编辑
摘要: 关于spring集合对象的补充 spring2.0中对集合对象有了改进,新增了一个标签,这个标签在设置Bean定义时更为方便。 要使用改标签,必须要在配置文件中加入util名称空间,如: xmlns:util="http://www.springframework.org/schema/util" http://www.springframework.org/schema/util h... 阅读全文
posted @ 2017-01-11 14:28 不苦先生 阅读(224) 评论(0) 推荐(0) 编辑