Hy all
i want to display data in table format...
as like below result.
column1 column2 column3
1 2 sdg
3 4 dfg
4 6 gfdsg
6 7 ffdsg
the following snap of my code is take the column title dynamically
<c:forEach items="${emplistlist}" var="demos">
<TD><c:out value="${demos.columnam1}" /></TD>
</c:forEach>
and the the following snap of my code is take the value of the column dynamically
<c:forEach items="${emplistlist}" var="demos">
<TD><c:out value="${demos.resultrow}" /></TD>
</c:forEach>
and in jsp textares i can enter the multiple select query sio it will disply result like....
First select query result...
column1 column2 column3
1 2 sdg
3 4 dfg
4 6 gfdsg
6 7 ffdsg
second select query result...
column1 column2 column3
1 2 sdg
3 4 dfg
4 6 gfdsg
6 7 ffdsg
i had get all the column name and result for all the query..but i can not set up the result page as above....
below is my jsp code...
<table border = "1" cellpadding="5" style="background-color: #ffffcc;">
<tr>
<c:forEach items="${emplistlist}" var="demos">
<TD><c:out value="${demos.columnam1}" /></TD>
</c:forEach>
</tr>
<c:forEach items="${emplistlist}" var="demos">
<TD><c:out value="${demos.resultrow}" /></TD>
</c:forEach>
</table>
and i want't use any scriplet code for the above solution.
Please help me anybody....
Thanks
Yatin Baraiya