2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 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 Hi, 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. Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now