Hi, I am using Tomcat 5.0.16 , I try to export output of jsp page (data in tabular format) to excel file. It is creating a new(empty)excel sheet but problem is my data in tabular format is not exported.Where is problem?
I already made MIME Type entry in web.xml file in conf dir.
I used following code : response.setContentType("application/vnd.ms-excel"); response.setHeader("Content-Disposition","attachment; filename=myFilename.xls");
Surprise is above code is working for one jsp page (in different dir) but not in current page. Where is mistake? Can anybody help me? Thanks a lot. Regards, Mandar Velankar