i have successfully stored an image using BLOB in a database.
But the problem is whenever iam trying to retrive the image using a servlet,
iam getting an image with red color cross mark
please help me.
I'm afraid you haven't succesfully stored it as a blob to start with. You have to
check whether or not the actual content of the original image and your copy
in the database are the same (check their lengths as well!).
Hexadecimal dumps are great for the purpose.
Only then you can be sure that you have succesfully stored your image.
kind regards,
Jos