foursami4 Posted January 8, 2011 Share Posted January 8, 2011 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:01Post Edited by foursami4 at 01/08/2011 17:03Post Edited by foursami4 at 01/08/2011 17:05Post Edited by foursami4 at 01/08/2011 17:08 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted January 10, 2011 Share Posted January 10, 2011 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 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