I am wanting to display a grid of items in a
JSP. The data is returned as a list from the action. For example:
Now, if I was to use
Java code I would simply use two for statements, one for the rows and one for the columns. Since I am wanting to avoid Java code in the JSP, I am looking at the using the iterator to do this, but I am not sure how I would go about it. The result should be something like:
Can someone suggest how I would go about this using iterators?