Archana Venkat writes: > In IE, it displays a blank page. I did the > workaround for that, by giving > res.setContentLength(bytearray.size(). Does not seem > to help.
This is a MSIE bug, check the MS support pages: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792 http://support.microsoft.com/default.aspx?scid=kb;EN-US;q262213 > In Netscape the PDF gets displayed correctly > sometime!. But most of the times, there is an error > saying "File cannot be displayed as it contains no > pages". Please let me know your thots on this ASAP. This error occurs when there is absolutely no data in the document. In order to debug, I suggest that you try to write the PDF file to a directory on the server and look if this file is OK. If not, you will have to add some System.err's to your code to check if the methods adding data to the document really do something. _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
