Sarah1 wrote: > After doing some research, I use the following in my struts, but I got blank > page on browser. > Anybody know why?
Please save the 'blank' PDF and open it in a plain text editor. What do you see? Are there a large amount of question marks in the content streams? If so, the BINARY file was flattened somewhere in the process. No doubt that iText generated the PDF correctly, but your application server treated the file as a plain text file instead of a binary file. The PDF structure was kept intact, but all the content stream were made corrupt. You found this mailing list through the Manning Forum, so I assume you have a copy of the book 'iText in Action'. This problem is described on p539. best regards, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/