自己工作中用到的几个怕自己记不住的标签
1.从集合中取值填充下拉<html:select property="caStatus"><html:options collection="status" property="key"labelProperty="value"/></html:select>
2.遍历集合 打印值
<!--list 为装载了对象的ListcaName是对象的属性--><logic:iterate name="list"id="items" indexId="index"><bean:write name="items" property="caName"/></logic:iterate>
还可以是遍历对象中的集合
<!-- caview 是装载了List的对象, caName是List中装载对象的属性--><logic:iterate name="caview" property="list"id="items" indexId="index"><bean:write name="items" property="caName"/></logic:iterate>
页:
[1]