HI, Im trying to exports jasperreports with two capabilities ie.PDF and XLS, which works fine with Chrome , but not in firefox, in firefox there are no exceptions while exporting a report. Following are the jars im using for jasper reports,commons-beanutils-1.8.0.jarcommons-codec-1.3.jarcommons-collections-3.2.1.jarcommons-digester-1.7.jarcommons-httpclient-3.1.jariText-2.1.0.jarjasperreports-3.5.3.jarjdo2-api-2.3-ea.jarpoi-3.2-FINAL-20081019.jar, Code:following is the code snippet used for exportif (exportType.equals(ExportType.pdf)) { JasperPrint jasperPrint = (JasperPrint) httpSession.getAttribute("jasperprint"); JasperExportManager.exportReportToPdfStream(jasperPrint, byteArray); response.setContentType("application/pdf"); } else if (exportType.equals(ExportType.xls)) { JasperPrint jasperPrint = (JasperPrint) httpSession.getAttribute("jasperprint"); JRXlsExporter exporterXLS = new JRXlsExporter(); exporterXLS.setParameter(JRXlsExporterParameter.JASPER_PRINT, jasperPrint); exporterXLS.setParameter(JRXlsExporterParameter.OUTPUT_STREAM, byteArray); exporterXLS.setParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE); exporterXLS.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE, Boolean.TRUE); exporterXLS.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE); exporterXLS.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE); exporterXLS.exportReport(); response.setContentType("application/vnd.ms-excel"); }response.setContentLength(byteArray.size()); response.addHeader("Content-Disposition", "Report Download"); ServletOutputStream outs = response.getOutputStream(); outs.write(byteArray.toByteArray()); outs.flush(); outs.close();