Jump to content
Changes to the Jaspersoft community edition download ×

Problem exporting to HTML after 1.2.2 upgrade


Recommended Posts

By: wenlink - wenlink

Problem exporting to HTML after 1.2.2 upgrade

2006-05-02 11:59

Has anyone else had problems with exporting to HTML after upgrading to 1.2.2?

 

I have a webapp that displays reports in different formats (pdf, xls, rtf, html) based on a radio button selection by the user. Everything worked fine before the upgrade, but now html will not display. The other formats still work. No errors are thrown. I just get a blank screen.

 

 

It appears to be because a "<title/>" tag is being generated in the html. I can view the source and see everything in the report. When I save the source down to my PC and remove this tag, the report will display in a browser. I am testing with IE6.0 and Netscape7.0.

 

I loaded the demo webapp from 1.2.2 and I have the same problem with it. The html export examples display blank. Is there some setting or something I am missing? I was able to run the demo webapp from 1.2.1 without any problems.

 

 

 

 

By: Lucian Chirita - lucianc

RE: Problem exporting to HTML after 1.2.2 upgrade

2006-05-03 01:48

This was fixed on CVS in JRHtmlExporter.java rev 1.74 (after the 1.2.2 release).

 

Another workaround is to use JRHtmlExporterParameter.HTML_HEADER to specify a custom header to be used when exporting to HTML.

 

Regards,

Lucian

 

 

 

 

By: wenlink - wenlink

RE: Problem exporting to HTML after 1.2.2 upgrade

2006-05-03 03:21

Thanks for the info. I'll try adding the custom header.

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