0

I tried a lot upon this problem but I didn't get a perfect solution. Only I want is to read an image which is saved in Blob format in the MySql database, within a jsp file.

That means I want to show up the picture inside a img HTML tag. How can I do that? How can I give a specific URL to src attribute?

halfer
  • 19,824
  • 17
  • 99
  • 186
Ayeshan
  • 3
  • 2
  • You need another endpoint in your application that can serve up the raw image data with the appropriate MIME type in the headers. – tadman May 01 '17 at 06:31
  • Actually I didn't get what you said! Can you explain it little bit? – Ayeshan May 01 '17 at 06:36
  • If you need mentoring or coaching try services like [Codementor](https://www.codementor.io), [Savvy](https://www.savvy.is), or [Hackhands](https://hackhands.com). – tadman May 01 '17 at 07:11

0 Answers0