Hi guys, I have a scenario here, I have an application bean called 'AppBean' in my webapp, which contains two properties 'List1' and 'List2' whose type is ArrayList. Now in a jsp page, I have a form, which will display items in 'List1', and bundle a set of <html:text> controls to 'List2' to accept user's input.
My current solution is: <logic:iterate id="itemInList1' name="AppBean" property="List1" indexId="index"> <html:text name="AppBean" property='<%= "List2[" + index + "]" %>'/> </logic:iterate> But it seems not working properly, List2[index] is NULL .... Any suggestions?