I found the "Type conversion" page from struts official web site and I followed the "Advanced example for indexed Lists and Maps", but I cannot get it work.
Then I followed this thread [1]. However, my list only contains 1 null object. Franz [1] http://old.nabble.com/-S2--Beans-list-in-Dynamic-form-and-ParametersInterceptor-problem-td15016850.html On Fri, Aug 13, 2010 at 2:13 PM, Franz Wong <franzw...@gmail.com> wrote: > Hi, > > I would like to show a list of user and enable the change of the name. I > don't know if there is any mechanism which struts provided to do that. > > class User { > private Long id; > private String name; > > // getters and setters > } > > <form action="updateUser"> > <table> > <s:iterator value="users"> > <tr> > <td> > <s:textfield name="name"/> > </td> > </tr> > </s:iterator> > </table> > <s:submit/> > </form> > > Thanks. > Franz >