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).