Hi,
I am generating table dynamically and in each table I have reference to a list like these :
<input type="text" name=
"list[2].name" value="C"> -
<input type="text" name=
"list[3].name" value="C"> -
<input type="text" name="list[4].name" value="C"> -
here I am using index reference while assigning it to HTML.
But when I submit it, it gives error :
SEVERE: Servlet.service() for
servlet ActionServlet threw exception
j
ava.lang.NullPointerException
at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:427)
at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:340)
Please Help is this is not possible in
Struts to map indexed element ?