2015年5月29日
摘要: 一、xml文件读取.properties文件连接数据库1、xml文件中的配置 2、.p... 阅读全文
posted @ 2015-05-29 17:01 路东头的夕阳。 阅读(723) 评论(0) 推荐(0) 编辑
摘要: (1)、基本的使用方法是: classpath:/spring/include/dbQuery.properties 其中classpath是引用src目录下的文件写法。(2)、当存在多个Properties文件时,配置就需使用locations了: ... 阅读全文
posted @ 2015-05-29 16:52 路东头的夕阳。 阅读(649) 评论(0) 推荐(0) 编辑