Home 表单中name相同的元素在后台如何获取
Post
Cancel

表单中name相同的元素在后台如何获取

name相同的多个元素只需要在后台用String[] param = request.getParameterValues("param")就可以了。

This post is licensed under CC BY 4.0 by the author.