Hi I have defined a DynaValidatorForm in struts-config.xml file like this <form-bean name="viewlinephase" type="org.apache.struts.action.DynaActionForm"> <form-property name="viewNames" type="java.util.Collection" /> </form-bean>
In My jsp i have defined a Action class which uses this bean I want to iterate through all viewNames in my jsp using <c:forEach..> tag How do i go it I tried <c:forEach var="viewName" items="${viewlinephase.viewNames}"> <html:option value="${viewName.l082CODE}"> <c:out value="${viewName.nameDesc}"/> </html:option> </c:forEach> But i get Unable to find a value for "viewNames" in object of class "org.apache.struts.action.DynaActionForm" using operator "." How do i do it Ashish __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]