/**
- 由于Spring在接受前台传入的List时,就会出现256的IndexOutOfBoundsException异常
- 设置setAutoGrowCollectionLimit为1024
- @param binder
- @see [类、类#方法、类#成员]
*/
@InitBinder
public void initListBinder(WebDataBinder binder)
{
// 设置需要包裹的元素个数,默认为256
binder.setAutoGrowCollectionLimit(1024);
}