title: asynchronous widget JSP foreach (Java EE application)
body: <p>I have the following code in a JSP page:</p>
  
  <pre><code>&lt;c:forEach var="widget" items="${widgets}"&gt;
          &lt;p&gt;&lt;h2&gt;Widget&lt;/h2&gt;&lt;/p&gt;
          &lt;p&gt;IDType: ${widget.id}&lt;/p&gt;
          &lt;p&gt;Name: ${widget.name}&lt;/p&gt;  
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>At the moment it is only text that will be displayed, but in the future there will be charts and images as well.
  I would like to use asynchronous loading, so the page doesn't have to wait on the largest images/charts.
  On the internet I found tutorials for Java code, but not for JSP pages. What is the best way to implement asynchronous loading in JSP pages?</p>
  
  <p>Thanks!</p>