I am displaying 3 values from a collection in a table of 3 rows i.e "aa,bb,cc" using <html:optionsCollection>
tag in struts.
aa can ed开发者_开发问答it
bb cannot edit
cc can edit
There is a condition that value bb is not editable. How to do that in struts?
I suggest using JSTL conditions <c:if>
in your <html:optionsCollection>
tag.
Problem is solved with <logic:notEqual>
tag
精彩评论