(if test="a == null")

...

(/if)

(if test="a != null")

...

(/if)

----------------------

(choose)

(when test="a == null")

...

(/when)

(otherwise)

...

(/otherwise)

(/choose)

----------------------

같은기능인데

둘중 뭐가 더 좋은지