views:

745

answers:

2

By default, groovy's SimpleTemplateEngine uses <% %> as the scriptlet container. How do I escape these characters if I want to print out <% %>?

A: 

Looks like it might be a bug

http://jira.codehaus.org/browse/GROOVY-399

Jean Barmash
A: 

The book I've red (which might be outdated) says that you need to have variable that contains <% and %> and then you need to output those variables.

Slartibartfast