You could try using getOutputStream and then building your own Writer by
putting on an encoding. The IllegalState is because you can't use the
Writer and the OutputStream in the same servlet.
But it seems to me if you've already written something to the output and
the FOP output is appended on to
Thanks!!!
Actually I changed the servlet to use the getOutputStream() and it works
fine even
for non-binary data. My new problem is the IE6 do not properly displays the
PDF data, I get what seems to be PDF internal stuff (what you will see if
you try to edit a PDF file in an editor). I think
Its a IE bug. Look at the msdn.microsoft.com for how
to open PDFs from IE. IE expects ur command line to
end with a .pdf so that it will opn the PDF. I could
not find a solution ot the problem.
--- Carmelo Montanez [EMAIL PROTECTED] wrote:
Thanks!!!
Actually I changed the servlet to use the