Skip to main content

About the BLOB datatype in MySQL



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?




Comments

  1. Open up Chrome inspector [ ctrl+shift+i ]
    go 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.

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?