81,122
社区成员




out.clearBuffer();
String filename="test.csv";
response.addHeader("Content-Disposition", new String(("attachment; filename=" + filename).getBytes("GBK"), "ISO-8859-1"));
response.setContentType("application/vnd.ms-excel");
// 后面输出你的字符串吧