Jump to content
We've recently updated our Privacy Statement, available here ×

JRHtmlExporter OutputStream Issue


Recommended Posts

By: gabe12 - gabe12

JRHtmlExporter OutputStream Issue

2006-01-30 02:06

Hi.

 

I'm using JRHtmlExporter (jasperreports 1.1.1) to generate my reports and write the images to a directory within my webapp.

 

If I stream the HTML to my ServletResponse outputstream. The html code is flushed to the stream but the images are not jet generated so my report is empty after hitting the reload button in my browser the image appears.

 

How about changing the generation order? Move line 424 to 519 in JRHtmlExporter to the top of the method.

 

Another solution is not to flush the buffer after the HTML code is generated.

 

greez gabe

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...