String tomcatRoot = request.getSession().getServletContext().getRealPath("/");
可以获取到"%tomcat_root%\%web_app_name%\"的绝对路径