种路径的调取

类路径的调取public String getWebClassesPath() {?? String path getClass().getProtectionDomain().ge

类路径的调取

public String getWebClassesPath() {
?? String path = getClass().getProtectionDomain().getCodeSource()
???? .getLocation().getPath();
?? return path;
??
}