//获取src下文件所在本地路径
public static String getFilePath2(String _fileName) {File directory = new File("");// 参数为空
String _filePath = null;
try {
_filePath = directory.getCanonicalPath();
} catch (IOException e) {
e.printStackTrace();
}
return _filePath + "\\src\\" + _fileName;
}
//获取src下文下所在服务器路径
public static String getFilePath(String _fileName) {
// String