You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mu Mike <mi...@hotmail.com> on 2004/03/12 08:55:33 UTC

submit an arraylist

I have a form as the below 

TestBeanForm.java 
public class TestBeanForm extends ActionForm { 
   public ArrayList getTestBean() { 
       if(testBean==null) 
         testBean=new ArrayList(); 
       return testBean; 
   } 

   public void setTestBean(ArrayList testBean) { 
       this.testBean = testBean; 
   } 

   private ArrayList  testBean; 

} 


how should I write in my configruatio file using logic:iterate to submit 
values for my ArrayList testBean?

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org