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
