Mike Marchywka wrote:
> 
> LOL, I don't imagine this will help, but the high bit is probably being set 
> to zero.

That's exactly what happened.
It's described in both the 1st and 2nd edition of "iText in Action".

1st edition: page 642-643

I can’t repeat it enough: It’s a bad idea to use JSP to generate binary 
content. I don’t say it isn’t possible to integrate iText in a JSP page.
...
Some servers assume that JSP output isn’t binary, so you get the 
questionmark problem mentioned earlier. PDF files written to the file 
system of the server open without problems. When served to a client, the 
PDF opens, but you only see blank pages.

2nd edition: chapter 9

It's a bad idea to use JSP to generate binary content. That's considered 
improper use of the technology. JSP wasn't created to produce images, 
PDF files, nor any other binary file type.
...
It's possible that the PDF opens when served on the client, showing 
nothing but blank pages. Some servers assume that JSP output isn't 
binary, and every byte higher than 127 will show up as a question mark.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to