Get the real path of the server

//获取服务器的工程真实路径
String path =session.getServletContext().getRealPath("/");

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325026516&siteId=291194637