摘要: 方法改进前: @Testpublic void test01() throws Exception{ InputStream is = Demo.class.getClassLoader().getResourceAsStream("druid.properties"); //创建配置文件对象 Pr 阅读全文
posted @ 2018-10-10 21:35 oc-long 阅读(8881) 评论(0) 推荐(1)
摘要: 第一种方式(直接上源码): 阅读全文
posted @ 2018-10-10 16:10 oc-long 阅读(1371) 评论(0) 推荐(0)