I have built an application in Spring-MVC with Thymealeaf and I would like to iterate in a table in Thymealeaf the DB entries.
This is the object that I am iterating:
List<Map<String, Object>> map
I tried this code in Thymleaf:
<table>
<tr>
<td> CNP:</td>
<td th:text ="${raspuns.cif}" ></td>
</tr>
<tr>
<td> Nume:</td>
<td th:text ="${raspuns.den_client}" ></td>
</tr>
</table>
But it shows only 2 entries and I know it has 311 or something like that. How could I iterate through all the entries and show them all?
map. We won't be able to help without this information.