If you will submit multiple EmpBean, your action will need some sort
of Collection (a List or Map I commonly use) with its getter
& setter.
You must name correctly your input parameters so that the
ParameterInterceptor assign them right, that is, you name it as the
collection variable, indexed by
Dear All,
I'm having following requirement and can you please let me know how to do
this using struts2.
Say EmployeeAction having EmpBean (getter & setter)
EmpBean:
private long emp_id;
private String first_name;
private String last_name;
private String class_name;
2 matches
Mail list logo