Hi all experts...!!
I have devoloped a servlet which reads data from DB & the resuslt is set to a session & send it to the jsp. In jsp the result is put to a table(data grid).

<td width="100" ><%= (ArrayList)session.getAttribute("name") %> </td>
<td width="100" cellpadding="2" cellspacing="5" border="2"><%= (ArrayList)session.getAttribute("age") %></td>

My problem is all the data is included in to one row. I need to get all the data row by row. (if 5 names are in the DB , 05 rows should be created.)

Tell me where I have done the mistake...

plz help me on this.....