// for base types use default exporter, mimeType and parameters if these
// are not specified by configuration file
if (outputType.equalsIgnoreCase("csv")) {
if(mimeType == null) mimeType = "text/plain";
servletResponse.setContentType(mimeType);
if(exporter == null) exporter = new JRCsvExporter();
} else if (outputType.equalsIgnoreCase("html")) {
if(mimeType == null) mimeType = "text/html";
servletResponse.setContentType(mimeType);
if(exporter == null) exporter = new JRHtmlExporter();
exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);