You have to look at the redirection. I bet that the redirection is not done correctly to the file on disk, hence the blank page. File access permissions may also have influence. You option 3 doesn't work from a JSP, redirect it instead to a servlet for the pdf generation.
Best Regards, Paulo Soares > -----Original Message----- > From: Giovanni Serra [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002 11:14 > To: Paulo Soares > Subject: RE: [iText-questions] Problems to display IE on MSIE !! > Websphere 3.5 !! Please Help > > Hi there Paulo, > > yes i do manage it! I mean the JavaBean called from the JSP do > create a file on the disk correcly! > > On 27 Feb 2002, at 10:16, Paulo Soares wrote: > > From: Paulo Soares <[EMAIL PROTECTED]> > To: "'Giovanni Serra'" <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Subject: RE: [iText-questions] Problems to display IE on MSIE > !! Websphere > 3.5 !! Please Help > Date sent: Wed, 27 Feb 2002 10:16:49 -0000 > > I didn't understand if in webshere you manage to create a valid file > on disk. > > Best Regards, > Paulo Soares > > > > -----Original Message----- > > From: Giovanni Serra [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, February 26, 2002 16:09 > > To: [EMAIL PROTECTED] > > Subject: [iText-questions] Problems to display IE on MSIE !! > > Websphere 3.5 !! Please Help > > > > Hello there, > > > > I having hard time with this problem!! I tried all possible solution > > i found on the iText web site and mailing list as well as solution > > found on other web places!!! .. I cant get to work PDF generated > > using iText and MSIE!! > > > > Well just to let you know what i have done: > > > > 1) PDF File generated with iText 0.50 on a Java Bean called by a > > JSP! It works perfectly on Acrobat Reader 5.0 Client! > > > > 2) The Java Bean saved it as file and the JSP redirect the web on > > the file using javascript . So .. it worked using IIS, but when i > > moved all to Webshpere 3.5 it show me a blank page and after a bit > > of time i got an Acrobat I/O Error. > > > > 3) I tried, always on webshpere, to send directly on the output > > stream according with some examples. On the java bean i added a > > method that is called by the JSP. This method read the file (I tried > > few methods using ByteArrayOutputStream, Bufferef Reader etc) and > > return to the JSP byte or String. After that the JSP working on the > > returned value ( Byte or String), set the response.contentType e > > contentSize to "application/pdf" and the size of the returned value > > rispectively. At the and of all i use the > > response.getOutputStream().write and flush method to write the file > > on the OutputStream. As result of all the file start to be read and > > after a few i get an Acrobar Reader Client saying "The file doesnt > > start with %PDF- > > > > I hope i has been clear explaining the problem. > > > > Could please some one help me? > > > > Plese write me at [EMAIL PROTECTED] > > > > Thanks alot in Advance. > > Giovanni > > > > > > _______________________________________________ > > iText-questions mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/itext-questions _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
