0

Currently the application works as expected with excel 2010 and can able to download reports.But the same application when tried to download using excel 2013 will not work.

The jsp page contains the below snippet. Do i need to add anything to make it work? Please help

<%@page contentType="application/vnd.ms-excel" pageEncoding="UTF-8"%>
guido
  • 18,864
  • 6
  • 70
  • 95
Varun
  • 1
  • 1
  • check this link: http://stackoverflow.com/questions/974079/setting-mime-type-for-excel-document and try to change contentType to another one. –  Apr 23 '15 at 14:45
  • Also: Drop the pageEncoding and ensure no white space like a final newline is written `%><% .... %>` (not ending in a newline). – Joop Eggen Apr 23 '15 at 15:30
  • Tried all possible mime types and removed pageEncoding. still the problem exists.. Please help.. – Varun Apr 24 '15 at 14:30
  • Please suggest i didn't work – Varun Apr 27 '15 at 13:39

0 Answers0