public String getWebClassesPath() {
String path = getClass().getProtectionDomain().getCodeSource()
.getLocation().getPath();
return path;
}
类路径的调取
最新推荐文章于 2021-03-05 07:40:12 发布
public String getWebClassesPath() {
String path = getClass().getProtectionDomain().getCodeSource()
.getLocation().getPath();
return path;
}