till now i was calling the by default file from a servlet to make xls by using
method.setPath("/birt/run?__report=abc.rptdesign&__format=xls");
response.setContentType("application/xls");
response.setHeader("Content-Disposition", "attachment; filename=abc Report.xls");
now i incorporated BIRT xlsx emitter and i've changed the path to
method.setPath("/birt/run?__report=abc.rptdesign&__emitterid=uk.co.spudsoft.birt.emitters.excel.XlsxEmitter&__format=xlsx");
response.setContentType("application/xlsx");
response.setHeader("Content-Disposition", "attachment; filename=abc Report.xlsx");
i am getting an error which i am attaching.
method.setPath("/birt/run?__report=abc.rptdesign&__format=xls");
response.setContentType("application/xls");
response.setHeader("Content-Disposition", "attachment; filename=abc Report.xls");
now i incorporated BIRT xlsx emitter and i've changed the path to
method.setPath("/birt/run?__report=abc.rptdesign&__emitterid=uk.co.spudsoft.birt.emitters.excel.XlsxEmitter&__format=xlsx");
response.setContentType("application/xlsx");
response.setHeader("Content-Disposition", "attachment; filename=abc Report.xlsx");
i am getting an error which i am attaching.
-
errorFile.txt (14.97K)
: 4