急求!S:SELECT怎么获取LIST中的其他属性的数据啊。。。
获取list是select * from knocategory, listkey是code,listvalue是name,
JSP写法如下:
<td class=tdl width="123"><font color=red>*</font>上级分类</td>
<td width="400"><s:select
headerValue="--------------------请选择--------------------"
headerKey="" list="#request.kcList" name="parentcode"
listKey="code" listValue="name" ></s:select></td>
但是knocatery中还有个lvl属性,ACTION中怎么根据传入的CODE获取到lvl属性啊