文件下载,一句话代码....
?
//模板下载 function exportTemplate(){ document.location.href = "<%=request.getContextPath()%>/download/abc.xls"; }
才知道........
要不还去inputStream outputStream了......