String path =request.getSession().getServletContext().getRealPath("/“);
转载于:https://www.cnblogs.com/fei-le/p/11457244.html