I write this in jsp file,but it failed

<html:form action="/testAction.do">
<logic:iterate name="TestBeanForm" property="testBean" id="mybean1" indexId="0">
<html:text property="testBean" value="string1" />
</logic:iterate>
<html:submit property="submitValue">Submit Changes</html:submit>
</html:form>



is my jsp code right?



From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: submit an arraylist
Date: Fri, 12 Mar 2004 07:55:33 +0000

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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


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



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to