I have a table like this in my jsp page.
<c:if test="${not empty resultMap}">
<table>
<tr>
Id:
</tr>
<tr>
Name:
</tr>
<tr>
Date:
</tr>
<c:forEach items="${resultMap}" var="result">
<tr>
<td>
${result.entryId}
</td>
<td>
${result.entryName}
</td>
<td>
${result.entryDate}
</td>
<td>
<a href="viewEntry.htm">View</a><
</td>
</tr>
</c:forEach>
</table>
</c:if>
Which results following output.
Id: Name: Date:
1 test 20-12-2013 View
2 test1 20-12-2014 View
Now my requirement is to show the entry details in another page. ie, when "View" link is clicked on entry with Id 1, I need to show its details in a separate page.
So how do I pass the resultMap and entryId for which the "View" link is clicked to a controller?
Is this possible via Spring MVC? Or any other technology like ajax or jquery should be used?
Thanks, Midhun