I am working on a jsp where I need to populate a table with the list I am retrieving from controller.
I have List<Object1> where List<Object2> is a member of Object1.
In my jsp, I have a table with 'X' no of rows and 'Y' no. of columns.
List<Object1> spans across columns and List<Object2> spans across rows for the particular column of its parent Object1.
Below is how my table needs to be like:
Can anyone help me with how to implement this in jsp.
I am familiar with iterating thru a single list in JSPs using <c:forEach /> tag to display across columns in a single row (or) across rows in single column.
But stuck up with this.