同其他集成方式一样,模板的配置将放在beetl.properties中。

    Controller代码如下:

    通常可以把模板放到WEB-INF目录下,除了可以配置beetl.propertis 外,还可以使用Spring配置