Hi, I am new to handling of BLOB objects. i want to display all the images present in a particular table for a particular ID: The sql query is as below select image from image_upload where log_id=? Note: image is BLOB type
But in JSP page it displayed a broken image link, not the image which i got it from database.
Can any one please tell me what piece of code i should write in order to display all the images??
posted 9 years ago
You are a little confused on how images are processed in a displayed page in a browser. Each image is seperately loaded by the browser using a new request to the server. Therefore, you need to have a send server process to handle the image. I would suggest a servlet for that.