Control Tags(控制型的标签):
- if
- elseif
- else
- append
- generator
- iterator
- merge
- sort
- subset
Data Tags
1. a
2. action
3. bean
4. date
5. debug
6. i18n
7. include
8. param
9. property
10. push
11. set
12. text
13. url
1.2.3
<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>