摘要: 开发中使用properties配置文件,方便后期维护。 配置文件只需要加载一次,提供静态代码,当前类被加载到内存执行 配置文件 jdbc.properties 加载配置文件:properties对象 开发中会使用Properties对象进行, 我们可以采用加载properties 文件获得流,然后使 阅读全文
posted @ 2017-10-27 16:30 逆水行舟! 阅读(26597) 评论(0) 推荐(1) 编辑