Commit dcfcc47d authored by dahai's avatar dahai

push

parent 784f840b
......@@ -79,6 +79,7 @@ public class ExportExcelApi {
byte[] b = new byte[fis.available()];
fis.read(b);
fis.close();
response.setContentType("APPLICATION/OCTET-STREAM");
response.addHeader("Content-Disposition", "attachment;filename=" + outFile + ".xls");
return b;
} catch (FileNotFoundException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment