Remember - a JSP is just a way of making an HTML page - if you look at an HTML page that has images on it you note that each image comes from a separate <img tag - that means a SEPARATE request to the server is generated for each image. You can't mix binary image data with HTML page character output. JSP assumes you will be writing characters so it is not suited to generating binary image data. If you have to create images on the fly, do it in a servlet. Bill ------------------ author of: