Jump to content
Changes to the Jaspersoft community edition download ×

Export to HTML

Recommended Posts

By: Vibha N. Malkarnekar - vibha

Export to HTML

2003-05-13 01:21

I have written a servlet which creates a Jasper report and generates HTML file using the method exportReportToHtmlFile of JasperExportManager. The response is then redirected to this HTML file created.

I would like to know if there is any method which returns HTML content in bytes or as a string so that I can write it to the servlet output stream directly instead of having to write the HTML file to disk and then redirect the response to that file.






By: Teodor Danciu - teodord

RE: Export to HTML

2003-05-13 12:21




Recent versions of JasperReports allow you

to stream HTML content on-the-fly, without

generating files on disk.


The provided "webapp" sample works just

like that. You might consider taking a look at it.


I hope this helps.


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...