I managed to do it with the next code but there must be an easier way.
<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %> <%@ tag
Work for arrays and lists only, not for set.