this is my form bean class: public class TestBeanForm extends ActionForm {
public String[] getTestBean() { return testBean; }
public void setTestBean(String[] testBean) { this.testBean = testBean; }
String[] testBean;
and this is my form bean declaration <form-bean name="TestBeanForm" type="com.mike.form.TestBeanForm"/> and this is what I have in my jsp file:
<html:form action="/testAction.do">
<logic:iterate name="TestBeanForm" property="testBean" id="mybean" indexId="index1" >
<%-- <html:text property="fontName" value="12" indexed="true"/>--%>
</logic:iterate>
<html:submit property="submitValue">Submit Changes</html:submit>
</html:form>
you can see, I commented out the <html:text> line, but I still kept getting "No collection found" error, why? arent String[] a collection?
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]