See this what I exactly wants
<sql:query var="Emp" sql="SELECT * FROM EmpList" dataSource="${example}"> </sql:query>
<%-- Get the column names for the header of the table --%>
<TABLE BORDER=1>
<c:forEach var="columnName" items="${Emp.columnNames}">
<th><c

ut value="${columnName}"/></th>
</c:forEach>
<%-- Get the value of each column while iterating over rows --%>
<c:forEach var="row" items="${Emp.rows}"> <tr>
<c:forEach var="column" items="${row}"> <td><c

ut value="${column.value}"/></td> </c:forEach> </tr>
As you can see on this JSP page I am getting some data from the data base. Now I want to amend the JSTL variables like getting the values from ${Emp.rows} in an array.
I hope you understand
Thanks