robert engels wrote:
> I don't think your problem has anything to do with itext,

Seems to me the PDF is generated correctly in memory,
but as there are no bytes sent to the browser, the
original poster has probably forgotten to write the
bytes to the output stream.

> i think if you created a simple memory stream of a text file, you  
> would have the same problem.

I think you're right.

Daniel Essin wrote:
 > I am just trying to get a full understanding of how the
 > methods work before I start real coding.

OK, then try an example without using iText.
Read a simple text file into memory and try serving
it to the output stream of the response object.
If it fails, you'll have a much simpler case to
forward to the appropriate forum.

 > I understand the potential inefficiency of feeding
 > this through a memory stream and I doubt that I
 > would actually use it,

You will have no choice if your end users have MSIE.

 > but I don't feel comfortable with new components
 > until I have fully exercised them and understand all the options.

That's a good policy, but if you follow this policy,
you know you have to take a few steps back once in
a while. Try the iText-less example, and you'll be
able to eliminate iText as the cause of the problem.
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to