又jsp生成的zip存在"C:\\_Entwicklung\\Webde\\web\\export\\lala.zip";
想在url下显示"http://localhost:8080/Webde/web/export/lala.zip";javascript:Element.update('export_file','<a href="' + fileUrl + '.zip">' + fileName + '.zip</a>');点击链接,出现错误提示 The requested resource () is not available.是什么原因,谢谢!
想在url下显示"http://localhost:8080/Webde/web/export/lala.zip";javascript:Element.update('export_file','<a href="' + fileUrl + '.zip">' + fileName + '.zip</a>');点击链接,出现错误提示 The requested resource () is not available.是什么原因,谢谢!
你在你的JSP页面中跟看看这个值是多少?
application.getRealPath("/Webde/web/export/lala.zip");
你的文件应该在这个目录下才行。