如何写动态struts <html:option>,我在做如下
<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>
但出现以下错误:
JSPG0069E: 解析 jsp 时发现不匹配的结束标记。预期逻辑:在 [87,130] 处迭代找到 html:option
还有其他方法吗?
提前致谢。