title: How to render byte[] image to JSP?
body: <p>I have an image in byte representation and I need renders this image to <code>JSP</code> page.  I send the byte array to JSP through <code>servlet.getOutputStream()</code>. How draw my image in a browser?</p>
  
  <p>I send my <code>byte[]</code> :</p>
  
  <pre><code>byte[] image = getDAO().getImage(propose.getId());
  
  ServletOutputStream os = resp.getOutputStream();
  os.write(image);
  os.close();
  </code></pre>
  
  <p>How to render the image to JSP?</p>
  
  <pre><code>&lt;%@ page contentType="text/html;charset=UTF-8" language="java" %&gt;
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Title&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      ...Somehow render get byte and render image ...
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>