title: What are the secured template engines in Java?
body: <p>I'm looking for a template engine in Java that disallow code execution in template, only tags.</p>
  
  <p>In a perfect world, I would be searching for an equivalent to <a href="http://jinja.pocoo.org/docs/" rel="nofollow">Jinja2</a> (or the <a href="http://docs.djangoproject.com/en/dev/topics/templates/" rel="nofollow">Django template engine</a>).
  Based on Django, template tags will be used when created by me, but a user can't create a template tag (by executing code).</p>
  
  <p>I would implement it in the <a href="http://www.playframework.org/" rel="nofollow">Play! Framework</a>.</p>
  
  <p>Thanks for your help!</p>