I may have just been lucky due to my unique needs but I use a buffer page that writes itself based on the browser type (JSP) <% String user = request.getHeader("User-Agent"); if(user.indexOf("MSIE") != -1 && user.indexOf("Windows") != -1){ out.print("<body leftMargin=\"0\" topMargin=\"0\" scroll=\"no\">"); out.print("<EMBED src=\"PDFPreview.pdf?type=pdf\" width=\"100%\" height=\"100%\" fullscreen=\"yes\" type=\"application/pdf\">"); } else{ out.print("<body leftMargin=\"0\" topMargin=\"0\" scroll=\"no\">"); out.print("<script>document.location = 'PDFPreview.pdf?type=pdf';</script>"); } %>
Of course I use the various fixes as well: baos.setContentType("application/pdf"); response.setContentLength(baos.size()); Hope this helps anyone. Bill Ensley Bear Printing -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bruno Sent: Thursday, January 06, 2005 7:30 AM To: David Ewing Cc: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] iText dynamic pdf using http stream to IE6 Quoting David Ewing <[EMAIL PROTECTED]>: > I actually have an answer instead of a question. Thanks for your very comprehensive answer. The different problems you tackled keep turning up on the mailing-list on a regular basis. In most cases people have to puzzle the answer together based on different replies (sometimes useful, sometimes not so useful). I know that can be a real pain. If it's OK for you, I'll add your answer to the FAQ so that it will be published with the next release. br, Bruno ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions