在struts中显示对象List(Object [])的数组列表。select标签<s:select>

时间:2019-07-18 09:50:28

标签: struts2 ognl

<s:select label="Motif de la réclamation"
            name="motifBean.motifId"                      
            list="%{motifListBean}" listKey="motifId"  listValue="libelle" value="1">

    </s:select> 

我使用上面的select标签,但是当我不是键和值,而是列表中的Object []时,我不知道该怎么做

谢谢

1 个答案:

答案 0 :(得分:0)

好吧,没有答案。我将Obect []转换为地图 并在选择标签中使用了地图