获取上传文件夹的路径
public String deleteFile(String fn) throws IOException { String path = ServletActionContext.getServletContext().getRealPath( "/uploadFiles"); System.out.println(path + "/" + fn); File file =