(Quick Reference)

else

目的
Purpose

The logical else tag

使用例
Examples

<g:if test="${name == 'fred'}">
     Hello Fred!
</g:if>
<g:else>
     Hello ${name}! Do I know you?
</g:else>