代码样例:
httpServletResponse.setContentType("application/powerpoint");
httpServletResponse.addHeader("Content-Disposition",
"attachment;fileName=" + URLEncoder.encode(String.format("%s年%s月_月度快报分析.pptx",accountingYear,accountingPeriod), "UTF-8"));
常见有