我在struts中使用<html:optionsCollection>
标记在3行表格中显示3个值,即“aa,bb,cc”。
aa can edit
bb cannot edit
cc can edit
有一个条件是价值bb不可编辑。 如何在struts中做到这一点?
答案 0 :(得分:0)
我建议您在<c:if>
代码中使用JSTL条件<html:optionsCollection>
。
答案 1 :(得分:0)
使用<logic:notEqual>
代码