I have jsp file to display error message in
depends on whether the error string is empty or not.
<s:if test="{!''.equals(errorMsg)}">
<div class="errors"><s:property value="errorMsg"/></div>
</s:if>
But whatever errorMsg is, the div section always there, why? how can solve this problem?