java web 获取当前项目路径

String path = System.getProperty("user.dir");

 

posted @ 2016-03-28 14:29  wancient  阅读(986)  评论(0编辑  收藏  举报