This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You do understand that a browser makes a separate request for every image in a page, right? You can't serve image data INLINE in a JSP, you can only insert a source reference. That reference can be to a servlet that responds with the binary image data. Bill