String fileName=request.getParameter("fileName");
设置下载响应头
response.setHeader("content-disposition","attachement;fileName="+fileName)
本文共 184 字,大约阅读时间需要 1 分钟。
String fileName=request.getParameter("fileName");
设置下载响应头
response.setHeader("content-disposition","attachement;fileName="+fileName)
转载于:https://www.cnblogs.com/ly-china/p/5430099.html