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>