I mean, it's a browser/platform problem that will happen with any pdf not only 
with iText.

> -----Original Message-----
> From: Paulo Soares 
> Sent: Wednesday, October 12, 2005 10:09 AM
> To: 'Владимир Карпухин'; [email protected]
> Subject: RE: [iText-questions] Problem with pdf in browser 
> window in Win98
> 
> What has this to do with iText? 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On 
> > Behalf Of ???????? ????????
> > Sent: Wednesday, October 12, 2005 9:53 AM
> > To: [email protected]
> > Subject: [iText-questions] Problem with pdf in browser 
> window in Win98
> > 
> >    Hello! I found the following bug (it's problem for me to 
> solve it):
> > I'm using iText in my web app. To send pdf content to browser 
> > i use the following code in Servlet class:
> >                         PDFDocument d = //some valid document....
> >                         ByteArrayOutputStream baos = d.getBAOS();
> >   
> >    response.setHeader("Expires", "0";
> >    response.setHeader("Cache-Control", "must-revalidate, 
> > post-check=0, pre-check=0";
> >    response.setHeader("Pragma", "public";
> >    response.setContentType("application/pdf";
> >    response.setContentLength(baos.size());
> >    
> >    ServletOutputStream out = response.getOutputStream();
> >    baos.writeTo(out);
> >    out.flush();
> > All is OK on WinXP and Win2000. First request to this servlet 
> > in Win98(browser IE) is OK, but all subsequent requests 
> > return blank page that can be closed only via windows task 
> > manager. All requests arrive to server and content flushed to 
> > client without exceptions. Please, help!
> > PS: iText version 1.3
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Power Architecture Resource Center: Free content, downloads, 
> > discussions,
> > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > _______________________________________________
> > iText-questions mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > 


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to