获取当前项目本地路径地址
摘要:
//获取项目的本地路径 String path = TestCtrl.class.getClassLoader().getResource("/").getPath(); String p = path.replaceAll("WEB-INF/.*", ""); System... 阅读全文
posted @ 2015-08-20 15:56 Crazy_snail 阅读(762) 评论(0) 推荐(0) 编辑