title: How to get first element of list in jsp
body: <p>I have a java web application and one of the controllers creates a list. The list is then added to a model and passed to the jsp.</p>
  
  <p>I can get all the elements of the list using the c:forEach etc...</p>
  
  <p>However, how can I get JUST the first element of the list. I have looked around but cannot seem to find an example.</p>