This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Tapestry / JasperReports App truncating RTF Output! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Tapestry / JasperReports App truncating RTF Output!" Watch "Tapestry / JasperReports App truncating RTF Output!" New topic
Author

Tapestry / JasperReports App truncating RTF Output!

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1043
Hello,

I have a simple Tapestry application that is (using JasperReports RTF) truncating the output of a large (~10 MB) RTF file.

Some of the RTF file is correct in Word, but after about page 1,400, I have a hundred or so blank pages (where the PDF equivalent still has correct data).

I'm using code with JasperReports like this to create the outputstream:



Again, the PDF version of this code works fine.

And, this code works OK for RTF if the file size is smaller.

So, I'm a bit unsure what the actual problem is.

The size of the byte array is < MAXINT so I'm OK there. I thought there might be some type of overflow issue.

I'm wondering if this could also be a word-memory issue?

Any suggestions would greatly (!!!) be appreciated.

Thanks.

-mike
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tapestry / JasperReports App truncating RTF Output!
 
Similar Threads
Question Mark's appearing in MS word document Generated using XML, XSL FO and jFor
file .jasper and jsp
Unable to open PDF file from servlet.
Jasper Report - Text Exporter
Display byte array of PDF in browser