I have stored an image in MySQL using the BLOB datatype. I am able to retrieve image through JSP but when I use Chrome or Firefox browser I am unable to view the image. It is displaying in an encrypted format. Can anyone please help me?
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Tuesday, February 14, 2012
About the BLOB datatype in MySQL
Tags
firefox,
google-chrome,
java,
mysql,
Tips For Programmer
Subscribe to:
Post Comments (Atom)
Open up Chrome inspector [ ctrl+shift+i ]
ReplyDeletego to the network tab
clear out the entries
goto your url
check the MIME Type in the type column.
This will make sure that your application / server config is sending it as the correct MIME type.