jdw12306

String directory = NoScanAction.class.getClassLoader().getResource("").getPath();

 

String rootPath1 = ServletActionContext.getServletContext().getRealPath("/");
String path = rootPath1.substring(0, rootPath1.indexOf("webapps")) + "webapps/upload/";

分类:

技术点:

相关文章: