I have used a getter that returns a COllection to iterate and a String[] to write back. So in essence, you draw your cbs and text items, row by row but you write column by column (notionally) So in you form: Colelction names = new ArrayList(10); String[] nameArray = new String[10]; public Collection getNames(){return names;}
public void setNameArray(String[] s){nameArray = s;} And in the jsp <logic:iterate id ="aName" name="yourFormBean" property="names" > <html:text property="nameArray"/> </logic:iterate> Now, nameArry shd be avlbl inthe action (via th eform). There you can place it in a Vector or suchlike. HTH, Pankaj -----Original Message----- From: Vijay Gupta [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 12:30 PM To: Struts Users Mailing List Subject: Retrieving set of values from html to Vector using Struts 1.0 Hi, I use struts 1.0. I am displaying a set of check boxes and textboxes from a vector in ActionForm using Itereate tag. But when the html form is submitted, I am unable to retrieve the same into the Vector which is an attribute of ActionForm. Could any one give me a solution using struts 1.0. Thanks in advance. Regards VijaY -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>