views:

9

answers:

1

hi expert, how to write dynamic struts , i'm doing as below

<logic:iterate id="data" name="sendEmailForm" property="eventList">
    <html:option value="<bean:write name="data" property="eventId"/>"/>
        <bean:write name="data" property="title"/>
    </html:option>
</logic:iterate>

but getting error JSPG0069E: Unmatched end tag found while parsing jsp. Expecting logic:iterate found html:option at [87,130]

there is another to do so,

thanks in advance

A: 

ok finally i found below for solution

<html:optionsCollection name="sendEmailForm" property="eventList" label="title" value="eventId" />
Apache