1.尝试以前servlet实例,poi jar包,发现找不到request和response
2.new file(.csv),file中写入内容,发现文件在服务器上,客户端看不到。。。
3.尝试在客户端打开文件,Runtime rt=Runtime.getRuntime(); rt.exec和 Desktop desktop = Desktop.getDesktop();desktop.open(f);还是在服务器打开。
4.直接将文件下载到本地 FileDownLoad success
2.new file(.csv),file中写入内容,发现文件在服务器上,客户端看不到。。。
3.尝试在客户端打开文件,Runtime rt=Runtime.getRuntime(); rt.exec和 Desktop desktop = Desktop.getDesktop();desktop.open(f);还是在服务器打开。
4.直接将文件下载到本地 FileDownLoad success