I have a Set of Objects. I want to iterate these objects from set to display it on jsp using JSTL. It is working with List, but I need to use Set.
Is it possible with jstl to iterate a set ?
<c:forEach items="${pitches}" var="pitch" />
In above : pitch has a set of object say Set<employee> ...
How can I iterate this employee set inside pitch ???
Yes <c:forEach> works with all Iterable so Set should be good
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With