Re: JasperReports + Empty report is generated for HTML type in Linux env
Mathi <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <23008946.1165239894597.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Philip Thanks!
Could you please mention the jars.. if not plz give me the exact link which will provide me the list of jars that has to be placed in WEB_INF/lib.Cuz I m a newbie.
fyi,
We have set the path for the engine explicitly from properties file.
The piece of code which generates html
JRHtmlExporter exporter = new JRHtmlExporter ();
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
exporter.setParameter (JRExporterParameter.JASPER_PRINT,jPrint);
exporter.setParameter (JRHtmlExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,Boolean.TRUE);
exporter.setParameter (JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN,Boolean.FALSE);
exporter.setParameter (JRExporterParameter.OUTPUT_STREAM,byteArrayOutputStream);
Thanks
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52065&messageID=105064#105064
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]