Hi
I am using JSTL <c:forEach> to iterate rows from a table and display on a page. I need a hyperlink for one column value.
My code is as follows:
<table border="1">
<%-- Get the column names for the header of the table --%>
<c:forEach var="columnName" items="${abc.columnNames}">
<th><c
ut value="${columnName}"/></th>
</c:forEach>
<br>
<%-- Get the value of each column while iterating over rows --%>
<c:forEach var="row" items="${abc.rows}">
<tr>
<c:forEach var="column" items="${row}">
<td><c
ut value="${column.value}" /></td>
</c:forEach>
</tr>
</c:forEach>
</table>
Any pointers on how to go about it.
SP Nam