|
hi,
how do i use a BufferedResponse
in a servlet ? presently i am using
PdfWriter.getInstance(Document document, ByteArrayOutputStream
baos);
and later...
ServletOutputStream out =
response.getOutputStream();
baos.writeTo(out); what is the advantage of using
BufferedResponse over the above method ? it would be very helpful if you could
provide me an example. thank you for the same.
yours,
dc.
|
