I use Struts2 and displaytag, In testList,there is a abc attribute,it
contains data like "english","france",when abc="english",I want to show
En,else show Eu,my code is follows:
<display:table name="testList" id="element" size="6">
<display:column property="abc" title="def">
<s:if test=" #element.abc=='english' ">
En
</s:if>
<s:else>
Eu
</s:else>
</display:column>
when I execute code,I find it only shows english or france,I don't know why
it don't show En or Eu.Where wrong with my code?
Any idea will be appreciated!
Thanks