I have a requirement came up for me where I have to show a table with first colum as a main one and multiple rows grouped to it.
For example first column is a list of plants and every plant has a set of products associated to it which will be shown corresponding to the plant but number of rows corresponding to plant is varying and needs to be changed at runtime.
Do you know any way how can I achieve in jsp, struts?
You would use the "rowspan" attribute in a <td> cell to make it span some number of rows. Was that the part of the problem that you were missing, or was it something else? Your question was not very specific.