12 2012 档案

摘要:public DbDriver(){ //读取WEB-INF的路径 try{ /*String path=this.getClass().getResource("/").getPath()+"config.properties"; path=path.substring(0,path.indexOf("classes")-1)+"/dbConfig.properties";*/ String path=DbDriver.class.getResource("/").getPath(); Str 阅读全文
posted @ 2012-12-25 12:34 柠檬Cool 阅读(9047) 评论(0) 推荐(1) 编辑