Trying to evaluate the following but not seem to work
<s:set name="infoType" value='%{"info.aero.aeroType"}' />
<s:if test='%{#infoType == "A"}'>
<span> got it </span>
</s:if>
the return type for aeroType
is String that is set in a Java class and it returns a alphabet "A" or "B". If infoType is A, I need to perform some calculation. How to get this working?