class
URL save = Thread.currentThread().getContextClassLoader().getResource("");
String str = save.toString();
str = str.substring(6) +childPath;
webapp
String excelPath = request.getSession().getServletContext().getRealPath("dddd);excelpath=D:\0pentakill\0code\ycgwl\pp\rosefinch-ppTest-web\target\webapp\dddd
原文地址:https://www.cnblogs.com/zfzf1/p/8371061.html
时间: 2024-11-06 03:49:41