I have searched and couldnt find anything similar or i am serching for the wrong thing. I am returning a list of items from my Controller for display in my jsp. In my jsp table I would like to have a row for each item in my list, something like this:
<tbody>
<c:forEach items="${productList}" var="product" varStatus="status">
<tr>
???? This next line is seudo-code. I dont know how to bind the item to form ???
<form:form method="post" modelAttribute="${productList}[status.index]">
<td><form:input path="price" class="input-mini" type="text" /></td>
<td><button id="save" name="save"></td>
</form
</tr>
</c:forEach>
</tbody>
then my controller would have a RequestMethod.POST for handleing the save action. Is this possible? If so could someone help point me in the right direction.
Is this possible I am not sure how to bind the item in the list to the form.
