Perform basic condition flow. 'If' tag could be used by itself or
with 'Else If' Tag and/or single/multiple 'Else' Tag.
- test* (Boolean) - Logic to determined if body of tag is to be displayed
<s:if test="%{false}">
<div>Will Not Be Executed</div>
</s:if>
<s:elseif test="%{true}">
<div>Will Be Executed</div>
</s:elseif>
<s:else>
<div>Will Not Be Executed</div>
</s:else>
|