Hi, i looked through the archives and found others having trouble dynamically generating PDF files and delivering them to IE browser, but none quiet like mine. i am using the work-around technique below (from http://www.lowagie.com/iText/faq.html#msie) yet for some reason IE wants to download the file. the save file dialogue box appears when the report is generated. the file is not available when i choose download, but that's not how i had hoped it would work. i am using Solaris and websphere(4.0). When i set the cache (as follows) i get the report back but the reports start to overlap text after about 9 or 10 pages. Once the overlapping has occurred even the smaller files will overlap from the beginning. If i stick to the around 8 page documents the overlapping never occurs. Thanks in advance, chad res.setHeader( "CacheControl", "no-cache"); res.addHeader("Pragma", "no-cache"); res.setContentType("application/pdf"); ByteArrayOutputStream ba = new ByteArrayOutputStream(); generate_pdf(ba); res.setContentLength(ba.size()); ServletOutputStream out = res.getOutputStream(); ba.writeTo(out); out.flush();
> Chad E. Iverson > Wells Fargo Services Company > Commercial Electronic Office * 612-316-2375 * 612-518-9597 ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
