Hi,
I wrote a formBean which has getter setter for an arrayList.
my getter is: public Collection getLdapVOList() {
// return arrayList object
}
setter is: public void setLdapVOList(Collection ldapVOList){
this.ldapVOList =(ArrayList) ldapVOList;
}
in JSP: im setting this arraylist as hidden value. <input type="hidden" name="ldapVOList" value="<c
ut value="${userValidationServerForm.ldapVOList}"/>">
and while submitting the form I am getting this exception: java.lang.IllegalArgumentException: Cannot invoke com.intruvert.ui.struts.configure.admin.nac.userValidationServer.UserValidationServerForm.setLdapVOList - argument type mismatch
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1778)
at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)
at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022)
much more......