Quoting Les Hughes <[EMAIL PROTECTED]>:
>
> If you mean that the servlet generates PDF to the browser, then use the
> OutputStream associated with the HttpServletResponse object after setting
> the correct content type:-
>
> response.setContentType("application/pdf"); //Or whatever this should be
> PdfWriter writer = PdfWriter.getInstance(document,
> reponse.getOutputStream());
That would be the way to do it, but unfortunately this
doesn't work very well with most versions of MSIE.
That's why the ByteArrayOutputStream-workaround is
used.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions