title: Iterate through List<String> using JSF 2
body: <p>I have this java code.</p>
  
  <pre><code>List&lt;String&gt; myList = new ArrayList&lt;String&gt;();
  myList.add("Hello");
  myList.add("World");
  </code></pre>
  
  <p>I need to loop through the list to display those values in a webpage. I thought of using a dataTable but I don't know how to retrieve each entry on the list. </p>
  
  <p>Ideas? Thanks!</p>