title: How to load image dynamically when the image is connected to ftp server?
body: <p>The image src is connected to the ftp server. I don't know in what ways I can load the image that is in the ftp server. </p>
  
  <p><strong>JSP side</strong></p>
  
  <pre><code> &lt;c:choose&gt;
  
   &lt;c:when test="${i.objThomasian.entryYear &lt;= 1999}"&gt;
  
   &lt;img src="path in the ftp server" class="img-fluid" id="imageholder" onload="loadImageOldEntryYearStudent('${i.id}')"/&gt;  
  
  &lt;/c:when&gt;
  
  &lt;c:otherwise&gt;
  
  &lt;img src="path in the ftp server" class="img-fluid" id="imageholder" onload="loadImageNewEntryYearStudent('${i.objThomasian.entryYear},${i.id}')"/&gt; 
  
  &lt;/c:otherwise&gt;
  
  &lt;/c:choose&gt;
  </code></pre>