title: How convert blob type in to data url using spring MVC?
body: <p>I'm creating a Spring MVC application. I also have a dataTable in the MySQL database. Inside the database, there is a table, and inside the table consist of several columns. One of the columns has type data "LONGBLOB" (the name of the column is file_data)</p>
  
  <p><a href="https://i.stack.imgur.com/Vls9B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vls9B.png" alt="enter image description here"></a></p>
  
  <p>The picture is the content of 1 "file_data".
  1. How to convert the file_data which has longblob type to data URL?</p>
  
  <p>There are some tutorials/discussions about this topic on the internet, but mostly using javascript. I have not got the idea how to convert it by using spring MVC.</p>