[方法] 在response加上Content-Disposition
String disposition = "attachment;filename*=utf-8'zh_cn'" + URLEncoder.encode(name, "utf-8"); //非iphone
if (StringUtils.isNotEmpty(userAgent) && userAgent.contains("iPhone")){
disposition = "attachment;filename*=utf-8'zh_cn'" + name;
}
response.addHeader("Content-Disposition", disposition);