Hi

I have difficulties in Capturing list of Java Objects back into the Forma bean of the action class when i submit/save the jsp.

Objects:

public class EmployeeForm extends ActionForm {
 List<EmployeeVO> employeeVOList;
 getEmployeeVOList(){ return employeeVOList;}
 setEmployeeVOList(List employeeVOList){ this.employeeVOList = employeeVOList;}
}
---------------------------------------------------------------------------------
public class EmployeeVO {
 private String lastName;private String firstName;
 public String getLastName() {
  return lastName;
 }
 public void setLastName(String lastName) {
  this.lastName = lastName;
 }
 public String getFirstName() {
  return firstName;
 }
 public void setFirstName(String firstName) {
  this.firstName = firstName;
 }
}
--------------------------------
Code Snippet from JSP:

<logic:iterate id="record" property="employeeVOList" type="EmployeeVO" name="EmployeeForm" indexId="index">
 <TR>
 <TD>
  <input type="text" name="record[<bean:write name='index'/>].EmployeeVO.lastName"
  value="<bean:write name='record' property='lastName'/>" />
 </TD>
 <TD >
 <input type="text" name="record[<bean:write name='index'/>].EmployeeVO.firstName"
  value="<bean:write name='record' property='firstName'/>" /></TD>
 </TR>
</logic:iterate>
--------------------------------
Results are getting displayed correctly with the above code.But, After submitting the above JSP, in the action class I am trying to the following.

EmployeeForm employeeForm = (EmployeeForm)form;

List<EmployeeVO> listEmp = employeeForm.getEmployeeList();        

But listEmp is always coming null and is not getting the values from the JSP.

i am expecting the List of EmployeeVO objects with the new values entered in the form bean after submitting the above jsp.

Please Advice.