Grails Cookbook - A collection of tutorials and examples

Grails while Tag Example

The Grails while tag (<g:while>) can be used to render GSP section multiple times. It behaves similar to the while loop in Java/Groovy but just translated to a GSP tag. This will show a simple example on how to use this tag.