String rootPath = request.getSession().getServletContext().getRealPath("/");
java web获得项目根路径
最新推荐文章于 2021-02-21 12:20:53 发布
String rootPath = request.getSession().getServletContext().getRealPath("/");