from表单:

<form action="${pageContext.request.contextPath}/vote/save" method="post" id="save">
    主题:<input type="text" name="theme"><br />
        投票项:<input type="text" name="options[0].option"> <br />
    <input type="text" name="options[1].option"><br />
<input type="submit" value="保存"> </form>

注:name="options[1].option"

后台直接接受。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2021-04-15
  • 2021-12-10
相关资源
相似解决方案