摘要:
1 public class JdbcUtil2 { 2 //声明连接池 3 private static LinkedList connectionspool=new LinkedList(); 4 //静态代码块 5 static{ 6 ... 阅读全文
posted @ 2014-11-16 16:06
liuwt365
阅读(117)
评论(0)
推荐(0)
摘要:
Demo 1 //声明资源器类 2 Properties pro=new Properties(); 3 //获取路径 4 URL url= PropertiesTest.class.getClassLoader().getResource("driv... 阅读全文
posted @ 2014-11-16 14:14
liuwt365
阅读(141)
评论(0)
推荐(0)