说片段name="<%=(String) curItr.next()%>"返回shoppingList。在一个html:text标签中。
我如何使 DOM 元素产生结果shoppingList[0].anotherList[1]?我试过了
name="<%=(String) curItr.next()%>" + shoppingList[0].anotherList[1]但它并不完全有效
完整的代码片段:
<html:text indexed="true" name="<%=(String)
curItr.next()%>"+"[0]" property="<%=(String) curItr.next()%>"/>