title: How do I iterate over a list in Jasper?
body: <p>I can't seem to find any information out there on this, but basically this is the situation. 
  I need to display a set of strings, in this case they are peroids of hours. I'm trying to avoid writing a Java class but I can do that if it's necessary. Basically I want to display something like </p>
  
  <pre><code>1-2pm
  2-3pm
  3-4pm
  4-5pm
  </code></pre>
  
  <p>I tried creating a list and a variable and then just doing </p>
  
  <pre><code>new ArrayList
  </code></pre>
  
  <p>assigning that to a variable and then doing a </p>
  
  <pre><code>$V{my_var}.add("1-2pm")
  </code></pre>
  
  <p>but when I assign that variable to a list it doesn't seem to work. How is this normally handled? I would ideally want a way to simply do this with the expression editor.</p>