Ben, Tomcat 4.x , It was the kind of thing that was a quick fix that was slipped into production Worked good though, six months later we've had no problems with it. A bit slow if you try to load more than 5 jsp pics on a page.
Im working with jboss as applicationserver, the thing is that Im building the application on springwebframework which handles jsp page-flows and Im suppose to present text and a small .jpg or .gif Image.
If I should use a servlet like some of you suggest this means I have to include the servlet in my .jsp page if that is possible, or just break out of the springwebframework to show the text and the .jpg or .gif recived from the database..
Brian, Thanks, I tried to do that in a JSP once and gave up. I can relate to the need jam something in at the last minute. If you get some free time, you might want to move that to a servlet. It might not work in future releases of Tomcat or in other servers.
Martin, Each image in a webpage always involves another trip to the webserver anyway. Try running the example from the link I gave you (it's a war file so you only need to drop it into the webapps directory and run it).
As far as the browser is concerned, the img tags are just pointing to static image files on you server. You should be able to do the same thing to serve up the blobs from your database.