The if Tag
Description
Test for a boolean condition if true then all tags within the scope of the if node is executed.
Type: Control
Attributes:
- test
- any valid combination of constant, variable or method name
- operator
- eq | ne | lt | gt | le| ge
- to
- any valid combination of constant, variable or method name
Loop Control: NO
Containing Tags
almost all
Used Within Tags - suggested
almost anywhere
Example
<if test="1" operator="eq" to="${one}">
</if>