I try to do something easy, but it's not working. Do i miss something obvious ?
my jsp :
<c:if test="${not empty listeApp}">
<table border = "1">
<c:forEach var="apps" items="${listeApp}" >
<tr>
<td>${apps.ID_APPLICATION}</td>
<td>${apps.ID_APPLICATION}</td>
</tr>
</c:forEach>
</table>
my controller :
public ModelAndView portail() {
applicationDao appDAO = new applicationJPADaoImpl();
return new ModelAndView("portail", "listeApp", appDAO.listeAll());
}
Nothing is displayed.
${listeApp[0].ID_APPLICATION}
works.
my list is good, i printed it in the sysout without any prob.
i can get the lenght ${fn:length(listeApp)}
but i would like to use the Foreach feature :)
Any advice ? Thanks