exportParameters.put(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);
exportParameters.put(JRHtmlExporterParameter.SIZE_UNIT,
JRHtmlExporterParameter.SIZE_UNIT_POINT);
exportParameters.put(JRHtmlExporterParameter.OUTPUT_STREAM, os);
exporter.setParameters(exportParameters);
exporter.exportReport();
} else if (strOutputType.equals("pdf") || strOutputType.equalsIgnoreCase("xls")) {
reportId = UUID.randomUUID();
saveReport(variables, jasperPrint, exportParameters, strFileName + "-" + (reportId) + "."
+ strOutputType);
response.setContentType("text/html;charset=UTF-8");