This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've searched a lot but could not solve this problem. I am generating PDF files with iText. If i use FileOutputStream everything is fine but when i try to use ServletOutputStream the images does not appear in PDF files.
When I open the PDF file with text editor, i saw that there "???" so much. That means something is shaving the bytes. It is like trying to use binary files with JSP. But i am using JSF, Tomcat 6.0, Spring 3.0 and Richfaces.