title: Template engine recommendations
body: <p>I'm looking for a template engine. Requirements:</p>
  
  <ul>
  <li>Runs on a JVM. Java is good; Jython, JRuby and the like, too...</li>
  <li>Can be used outside of servlets (unlike JSP)</li>
  <li>Is flexible wrt. to where the templates are stored (JSP and a lot of people require the templates to be stored in the FS). It should provide a template loading interface which one can implement or something like that</li>
  <li>Easy inclusion of parameterized templates- I really like JSP's tag fragments</li>
  <li>Good docs, nice code, etc., the usual suspects</li>
  </ul>
  
  <p>I've looked at JSP- it's nearly perfect except for the servlet and filesystem coupling, Stringtemplate- I love the template syntax, but it fails on the filesystem coupling, the documentation is lacking and template groups and stuff are confusing, GXP, TAL, etc.</p>
  
  <p>Ideas, thoughts?</p>