I have an object with a method
public boolean hasPermission(String role) { return permissions.contains(role); }
I want to make an equivalent:
<c:if test="${row.hasPermission(role)}"> <td></td> </c:if>
But I can not access the hasPermission method from the JSP file. How can i do this?
Steve source share