摘要: String path = ServletDemo1.class.getClassLoader().getResource("db.properties").getPath(); //在servlet下,用ServletContext的getRealPath方法的得到资源库路... 阅读全文
posted @ 2015-02-10 14:11 一路向北中 阅读(278) 评论(0) 推荐(0)