Re: [iText-questions] urgent - servlet problems

2002-05-02 Thread Lord Zefyrus God
: Wilhelm *Rafial* Fitzpatrick [EMAIL PROTECTED] To: Lord Zefyrus God [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [iText-questions] urgent - servlet problems Date: Thu, 2 May 2002 11:28:37 -0700 i've tried the examlpe that uses a servlet instead a main class. and it locks the browser until i

Re: [iText-questions] urgent - servlet problems

2002-05-02 Thread Wilhelm *Rafial* Fitzpatrick
i've tried the examlpe that uses a servlet instead a main class. and it locks the browser until i press the refresh key (f5), them the pdf comes up. I'm delivering PDFs built with iText via a servlet, so I might be able to help if you can supply more details. Two important things are to set

RE: [iText-questions] urgent - servlet problems

2002-05-02 Thread Wilhelm *Rafial* Fitzpatrick
At 4:03 PM -0300 5/2/02, Lord Zefyrus God wrote: still having problems. may you send a sample code ??? Something like: ... ByteArrayOutputStream buffer = new ByteArrayOutputStream(32000); new PDFGenerator().generate( statement, template, overlay, buffer ); resp.setContentType(

RE: [iText-questions] urgent - servlet problems

2002-05-02 Thread Matt Benson
It might help if you wrote your document to the ByteArrayOutputStream before you set the content length and transfer the contents to your ServletOutputStream -Matt --- Lord Zefyrus God [EMAIL PROTECTED] wrote: hi i know that i'm boring you all, but i puted he content.lenght at it