![]() ![]() Is there a way to force IE/Excel to honor the file name specified in the headers so this issue does not occur? Worse, if we leave Excel open and generate a second report, Excel will refuse to open it because the second report also attempts to open with the name "ReportsClientInterface". However, when "open" is selected, Excel shows ReportsClientInterface (which is in the URL as shown above) as the name, instead of the expected report name. If "save" is selected, the name chosen for the file is matching that header as well. The on the popup correctly shows the file name specified by the Content-Disposition header. In Internet Explorer (11 running on Windows 10) the browser shows a "what do you want to do with ?" ![]() The URL that serves the report is of the form " The MIME type we are setting is "application/vnd.ms-excel" and the Content-Disposition header is "filename=.xls" where can vary based on the title of the report. This seems to be creating issues in Internet Explorer when selecting "open" in the "what do you want to do" popup box. Until recently we were only generating PDF files (which are opened by the browser directly) this way, but recently we added the ability to generate the report as an XLS file as well. We have a Java web application which generates reports and serves them directly as a binary response.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |