Display a database BLOB in a jsp
posted 10 years ago
the IMG tag takes a src path to an image to display it. But if you are getting the image from a database (or file system) it is not part of the web app. So how would you set the src param? Or is there another way to display it, since it is a stream of bytes when you get it from the database?