开发者

How do I post a checkbox array to a Spring 3 MVC controller?

开发者 https://www.devze.com 2023-03-14 21:18 出处:网络
I have a html form which has a dynamic amount of checkboxes in it. How do I post开发者_开发技巧 these checkboxes as an array, and how do I recieve them in my spring 3 controller?You can check this tut

I have a html form which has a dynamic amount of checkboxes in it. How do I post开发者_开发技巧 these checkboxes as an array, and how do I recieve them in my spring 3 controller?


You can check this tutorial for a similar implementation. One of the key solution described in the blog is the use of Apache Commons LazyList.

0

精彩评论

暂无评论...
验证码 换一张
取 消