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
Using ${mySet.toArray[0]} does not work.
I do not think it is possible without having forEach loop at least one iteration.