title: Best way to send file from java server to client
body: <p>I uploaded an image successfully in MYSQL database using spring MVC(MultipartFile) and hibernate.
  now I want to get it from db and set it in my page with ajax request and my request is done successfully .(server response is ok)</p>
  
  <p>but the server(java) <strong>sends me the image in form of base64 URL string.</strong>
  So my question is :</p>
  
  <p><strong>base 64 URL is big string and so performance will be affected by it</strong>
   , is there any other way to send the image from server to client without encoded to BASE64 URL ?</p>
  
  <p><em>I use Jackson library for my response .</em>
  Thank you .</p>