if (outputType.equalsIgnoreCase("html")) {
exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);
exporter.setParameter(JRHtmlExporterParameter.BETWEEN_PAGES_HTML, "");
HashMap m_imagesMap = new HashMap();
UUIDGenerator uuidGen = UUIDGenerator.getInstance();
UUID uuid_local = uuidGen.generateTimeBasedUUID();
String mapName = uuid_local.toString();
httpServletRequest.getSession().setAttribute(mapName, m_imagesMap);
exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, m_imagesMap);
exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "JRImageServlet?mapname="+mapName+"&image=");
} else if (outputType.equalsIgnoreCase("txt")) {