Skip to content Skip to sidebar Skip to footer

How Can I Submit A Html Form Post That Has Several Different Iterated Values?

This is a Spring MVC project. So the following JSP <%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>

Solution 1:

Use this <td><a href='www.xyz.com:port/number?regNo=${studentList.regNo}><c:out value="${studentList.name}"/> </a></td>

And regNo you can get as the request parameter in controller or Path parameter in your controller like

<td><a href='www.xyz.com:port/number/${studentList.regNo}><c:out value="${studentList.name}"/> </a></td>  

And modify your controller's configuration accordingly.

Post a Comment for "How Can I Submit A Html Form Post That Has Several Different Iterated Values?"