Jump to content

Report results in blank page under IE8 but not under FireFox!


foursami4

Recommended Posts

My problem is kind of strange. I use the same method to fill and open my reports in IE 8. However, one opens normally while the other results in just blank webpage.

The really strange thing is that I checked and found the bytes array not empty or null. So I exported the array to a pdf file on disk and it was create and saved properly. Moreover, when I use firefox as my browser it opens normally. Any Ideas?

Code:



Post Edited by foursami4 at 01/08/2011 17:01



Post Edited by foursami4 at 01/08/2011 17:03



Post Edited by foursami4 at 01/08/2011 17:05



Post Edited by foursami4 at 01/08/2011 17:08
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

 

Can't tell what is wrong with the case you descriebed.

However, I would point out that normally you don't have to compile JRXML files at runtime:

http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/faq.html#FAQ22

 

Also, I would try reuse the servlets shipped with JR for exporting to PDF and the other formats, as shown in the /demo/samples/webapp sample inside the JR project source package. These servlets are more "battle-tested" and hopefully do not present the same problem with IE8.

 

I hope this helps.
Teodor

 

Link to comment
Share on other sites

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