Sakthi Ramasamy wrote:We use the for the HTML page, but the challenge encountered is that the image is being retrieved as a BLOB Object (Stream).
The stream should not be sent to the
JSP -- it's not useful there.
The HTML img tag expects an image from the filesystem ...
Incorrect. It expects image data from whatever URL is specified as the value of
src. Whether that comes from a file or not is irrelevant. It can, for example, be served as a
servlet which reads a blob from the database.