String path = (PathKit.getWebRootPath()+"/exclemodel/").replace("\\", "/");
URL httpurl = new URL("***");
String fileName = "*.xlsx";
File f = new File(path + fileName);
FileUtils.copyURLToFile(httpurl, f);
if(f.isFile()){
renderFile(f);
}
其中,FileUtils类引自