If I defined this class:
@MainForm(grupo = 3, icone = "user")
public class Usuario {
...
}
and go to the view of this list (including the class above):
public List<Class<?>> lista_classes_projeto() {
...
}
Is there a way to read the value for iconein this jsp code:
<c:forEach var="option" items="${lista}">
<li>
<c:url value="/${option.simpleName}/listagem" var="url"/>
<a class="link" href="${url}">
<i class="icon-"></i>
<span>${option.simpleName}</span>
</a>
</li>
</c:forEach>
source
share