获取 项目所在的tomcat下的webapps 绝对路径

String nowpath = System.getProperty("user.dir");
filePath = nowpath.replace("bin", "webapps");

posted @ 2016-04-19 17:45  蓝枫_yong  阅读(798)  评论(0)    收藏  举报