I've just started learning Struts and this is my current problem: I have a java.util.Set which is saved in the current session and I'm trying to use Struts for checking if it's not empty and in that case iterating through it (from a JSP). This is the beginning of that code:
When I try stepping through the code, the logic:notEmpty tag is handled just fine, but when I get to the logic:iterate tag I get this exception:
Does anyone know if it's possible to iterate through a Set using Struts in any way?
I could always make it work by writing a scriptlet and iterate through it the regular Java way, but I'm trying to use as much Struts as possible since I'm doing a thesis where one of the issues is what the benefits of Struts are. (And besides, I've read that using scriptlets is "bad style" nowadays.)
So if anybody knows a Struts solution to this, I'd be very grateful!