title: How to get the second value in list object using thymeleaf?
body: <p>I'm sending a model attribute object(product) from my controller to th:each tag in view page.</p>
  
  <p>If that object contains 3 values like 0,1,3, I can get by using 
     <code>th:each="var:${product}"</code>
  and then 
     <code>th:text=${var.id}</code>, 
  but here I want only 1. How can i get it?. </p>
  
  <p>Can any one please help me to solve this problem? </p>