<% %>
syntax you can of course embed loops and so on using this syntax:<html> <body> <% [1,2,3,4].each { num -> %> <p><%="Hello ${num}!" %></p> <%}%> </body> </html>
<html> <body> <% if(params.hello == 'true' )%> <%="Hello!"%> <% else %> <%="Goodbye!"%> </body> </html>