There is a field the length of which is not fixed in jasper , i set it property "Stretch With OverFlow" , in IE8 browser it works but not in FireFox . The following is my htmlExporter code :
JRHtmlExporter exporter = new JRHtmlExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, response.getWriter());
exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "servlets/image?radom="+Math.random()+"&image=");
exporter.setParameter(JRHtmlExporterParameter.IS_WRAP_BREAK_WORD, Boolean.TRUE);
exporter.setParameter(JRHtmlExporterParameter.PAGE_INDEX,pagesize);
exporter.setParameter(JRHtmlExporterParameter.FLUSH_OUTPUT, Boolean.TRUE);
exporter.exportReport();
Recommended Comments