You'll want to check the struts docs on indexed properties.
..ActionForm
private ArrayList userList;
public ArrayList getUsers() {
return userList;
}public addUser(User user) {
this.userList.add(user);
}...
<html:form action="/process.do">
<logic:iterate id="user" name="myForm" property="users">
<html:text name="user" property="firstName" indexed="true" />...
HTH Mark
On 16 Nov 2003, at 03:47, ZYD wrote:
Hi,
I hava a userForm that has a ArrayList of User objects, each User object has several properties: fistname, lastname, age.
How can I get all User's firstname, lastname, age in an iterate?
Thanks.
bruce
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

