1 <c:forEach var="user" items="${users }">
 2     <form action="user_update_Users">
 3         <tr>
 4             <td> <input name = "user.id" value="${user['id'] }" readonly="readonly"></td>
 5             <td> <input name = "user.userId" value="${user.userId }" readonly="readonly"></td>
 6             <td> <input name="user.userName" value="${user.userName }"></td>
 7             <td> <input name="user.password" value="${user.password }"></td>
 8             <td> <input name="user.userType" value="${user.userType }"></td>
 9             <td> <input type="submit" value="修改"></td>
10         </tr>
11         </form>
12     </c:forEach>

form一定要放在forEach里面,表示要提交的表单。

相关文章:

  • 2022-12-23
  • 2021-09-18
  • 2022-01-24
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-14
  • 2022-02-01
  • 2022-12-23
  • 2021-11-11
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案