//magExcel下载
public void downloadExcel(Map<String,Object> para, HttpServletRequest request, HttpServletResponse response) throws Exception{
response.setContentType("application/vnd.ms-excel;charset=utf-8");
response.setHeader("Content-Disposition", "attachment;filename="
+ new String((MapUtils.getString(para,"fileName")).getBytes(), "iso-8859-1"));
IOUtils.write( creatExcel( para), response.getOutputStream());
}
public void downloadExcel(Map<String,Object> para, HttpServletRequest request, HttpServletResponse response) throws Exception{
response.setContentType("application/vnd.ms-excel;charset=utf-8");
response.setHeader("Content-Disposition", "attachment;filename="
+ new String((MapUtils.getString(para,"fileName")).getBytes(), "iso-8859-1"));
IOUtils.write( creatExcel( para), response.getOutputStream());
}