//設置文件名
String filename = "家庭網絡運營參展.xls";
//設置文件輸出頭
//response.setHeader("Content-Disposition", "attachment;filename="+URLEncoder.encode(filename, "utf-8"));
或者
response.setHeader("Content-Disposition", "attachment;filename="+new String(filename.getBytes(), "iso8859-1"));
ServletOutputStream fos=response.getOutputStream();
workbook.write(fos);