http://www.iteye.com/problems/60495
JSP页面头:
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
后台对文件名的处理:
String fileName = new String(request.getParameter("filename").getBytes("ISO-8859-1"), "utf-8");
response.addHeader("Content-Disposition", "attachment; filename=\"" + new String(fileName.getBytes("utf-8"),"ISO-8859-1"));
大家帮助看看吧,谢谢!
http://d.download.csdn.net/down/2040337/xinkeji
分享到:
相关推荐
NULL 博文链接:https://jiangtie.iteye.com/blog/1003878
NULL 博文链接:https://pope12389.iteye.com/blog/1247893
NULL 博文链接:https://frankco.iteye.com/blog/1685118
博文链接:https://balaschen.iteye.com/blog/82579
NULL 博文链接:https://yanxinfeng.iteye.com/blog/524496
NULL 博文链接:https://superior.iteye.com/blog/710595
博文链接:https://wdfan.iteye.com/blog/197543
NULL 博文链接:https://vb2005xu.iteye.com/blog/387621
NULL 博文链接:https://vb2005xu.iteye.com/blog/1066661
NULL 博文链接:https://danwind.iteye.com/blog/429903
博文链接:https://jackzhangyunjie.iteye.com/blog/202349
NULL 博文链接:https://kenken0y.iteye.com/blog/504550
NULL 博文链接:https://hnzhoujunmei.iteye.com/blog/1033244