How To Generating HTML Reports...

By: Patrick the Pup - patrick_the_pup
How To Generating HTML Reports...
2002-10-15 18:45
Hi Guys,

I have created a servlet to generate HTML report using the compileReportToFile and runReportToHtmlFile methods but when I browse thru the QueryApp of demo/sample directory, I see that there are other methods available such as exportReportToHtmlFile(), exportReportToPdfFile() and exportReportToXmlFile(). What is the difference between runReportToXXX method() and exportReportToXXX() method ? and when to use which method ?

Thanks alot,
Patrick the Pup

By: Teodor Danciu - teodord
RE: How To Generating HTML Reports...
2002-10-16 12:20


The runXXX methods do not produce
an intermediary .jrprint file on disk.
They just fill the report design an obtain an
in-memory JasperPrint object that they directly
export to the desired output format.

On the other hand, the exportXXX methods only
export documents from the JasperReports format
to another more popular format.

runXXX = fillXXX + exportXXX

I hope this helps.
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet