【Spring】java.lang.IndexOutOfBoundsException: Index: 256, Size: 256
【Spring】java.lang.IndexOutOfBoundsException: Index: 256, Size: 256原因:SpringMVC前台提交参数绑定list时大小超过256解决方案:@InitBinder //类初始化是调用的方法注解public void initBinder(WebDataBinder binder) {//给这个controller配置接收list的长度1000,仅在这个controller有效binder.setAutoGrowCollection
原创
2020-07-29 20:53:40 ·
1283 阅读 ·
2 评论