public List createExtendInfoBeanList(){ List<ExtendInfoBean> extendInfoBeanList=new ArrayList<ExtendInfoBean>(); for (int i=0;i<10;i++){ extendInfoBeanList.get(i).setFieldName("1"); extendInfoBeanList.get(i).setFieldValue("1"); } return extendInfoBeanList; }