|
|
@@ -46,7 +46,6 @@ public class ExcelUtils2 implements ResourceLoaderAware {
|
|
|
resp.setHeader("Content-Type", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=utf-8");
|
|
|
try {
|
|
|
resp.setHeader("Content-Disposition", "attachment; filename=" + URLEncoder.encode(filename, "UTF-8"));
|
|
|
- resp.setHeader("Content-Length", String.valueOf(template.contentLength()));
|
|
|
} catch (Exception e) {
|
|
|
throw new RuntimeException(e);
|
|
|
}
|