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.
Originally posted by Yans Tan: Anyone have any idea to over come this?
Yes, don't do that. What are you trying to accomplish?
As I pointed out in your other topic, you can't mix HTML content and image content in one response. You need to write an <img> tag in the the HTML which make a request back to a servlet that will stream the image data (and only the image data).