title: How do I use loops to limit the data in a html table column?
body: <p>I am getting the result set from the controller to the jsp page where I have a table.</p>
  
  <p>I inserted all the data coming from resultset to the  of that table. </p>
  
  <p><strong>The problem I am having is that data is coming in only one column.</strong> What I want to do is just limit the data to 5 in each column (5 in col 1, 5 in col 2, 5 in col3 of the same row).</p>
  
  <p>Associated  ID's:   </p>
  
  <pre><code>AKR
  AK
  AKRBS
  AKRB
  AKBS
  AKRB
  AKRBS
  AKRBSW
  AK
  AKRE
  </code></pre>
  
  <p>and so on.....</p>