I have already done that by creating a Image Servlet. But what i don't understand is why can't u do it through a tag. When you can have a iterator tag which accepts a Collection object, then you can always accept a byte array too.
Still can't do it. JSP is a templating technology used to render HTML pages to be sent to the client. You cannot do anything with JSP that HTML cannot do. And HTML cannot render images with a byte stream embedded in a page.
subject: Available Tag for rendering image using bytes array