Hi,
 
I am having problem exporting jrprint file to csv file, the image part of the report didn't get exported to csv file. same jrprint file can be exported to pdf file w/o any problem. what am I doing wrong?
 
thanks,
Leon
 
source code -
........
                OutputStream os = response.getOutputStream();
                try {
                    response.setContentType("text/html");
                    response.setHeader("Content-Disposition",
                        "attachment; filename=\"" + reportName +
                            PresentationUtil.EXPORT_FILE_EXTS[exportMode]
                            + "\"");
........
 
       switch (exportMode) {
            case EXPORT_CSV :
                JRCsvExporter csvExporter = new JRCsvExporter();
                csvExporter.setParameter(JRExporterParameter.INPUT_FILE_NAME,
                        path + rptName + JR_PRINT_EXT);
                csvExporter.setParameter(
                            JRExporterParameter.OUTPUT_STREAM, os);
                csvExporter.exportReport();
                break;
            case EXPORT_PDF :
                JRPdfExporter pdfExporter = new JRPdfExporter();
                pdfExporter.setParameter(JRExporterParameter.INPUT_FILE_NAME,
                        path + rptName + JR_PRINT_EXT);
                pdfExporter.setParameter(
                            JRExporterParameter.OUTPUT_STREAM, os);
                pdfExporter.exportReport();
                break;
        }
 
csv file -

Mesh Packet Error Stats - mpe_report,,
Generated: Thu Jan 25 16:10:00 PST 2007,,
Report By: AP By Controller,,
Controller: 172.19.28.45 -> All Access Points,,
Reporting Period: Last 1 hours,,
Aggregation Frequency: N/A,,
,Page 1 of, 4
Page 2 of, 4
Page 3 of, 4
Page 4 of, 4