Quoting [EMAIL PROTECTED]: > Thanks bruno
> > Is it possible to send response to the user directly as > > PdfWriter.getInstance(document, response.getOutputStream()); Yes, but you risk having a lot of browser problems see http://www.lowagie.com/iText/faq.html#msie > > When I use this I am getting the error as illegal state exception I guess you have already done something with the OutputStream. Read the Servlets specs: you can't use response.getOutputStream() if you already did a response.getWriter() Please keep the thread on the mailing-list. Bruno ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
