HttpServletRequest request = ServletActionContext.getRequest();
String path = request.getSession().getServletContext().getRealPath("/");
转载于:https://my.oschina.net/cestbon/blog/98315
HttpServletRequest request = ServletActionContext.getRequest();
String path = request.getSession().getServletContext().getRealPath("/");
转载于:https://my.oschina.net/cestbon/blog/98315