获取服务器真实路径

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

猜你喜欢

转载自www.cnblogs.com/gjack/p/8962748.html