---
title: "jetbrick-template-1.0.1 发布，全新JAVA模板引擎"
author: "subchen"
date: "2013-11-21T08:59:08Z"
tags: []
categories: ["开源软件"]
slug: "jetbrick-template-1-0-1-java"
draft: false
lastmod: "2013-12-09T09:47:59Z"
id: 1978276
url: "https://subchen.iteye.com/blog/1978276"
---

全面超越 Velocity 的全新一代 Java 模板引擎 jetbrick-template 1.0.1 正式版发布。

 

 

**Version 1.0.1 (2013-11-20)**

- \[新增] [#1 支持 Servlet 2.x](https://github.com/subchen/jetbrick-template/issues/1)
- \[修复] [#2 trim.directive.line 选项，如果指令两边为非空格，也会被 trim](https://github.com/subchen/jetbrick-template/issues/2)
- \[修复] [#3 compile.debug 默认应该为 false](https://github.com/subchen/jetbrick-template/issues/3)
- \[新增] [#4 增加指令注释支持，如： 增强对可视化编辑器的友好度](https://github.com/subchen/jetbrick-template/issues/4)
- \[修复] [#6 JDK 6 can’t load the template class compiled using JDK 7.](https://github.com/subchen/jetbrick-template/issues/6)
- \[修复] [#7 JetTemplateServlet 和 JetTemplateFilter 默认可能输出错误的 contentType.](https://github.com/subchen/jetbrick-template/issues/7)

 

jetbrick-template 是一个新一代 Java 模板引擎，具有高性能和高扩展性。 适合于动态 HTML 页面输出或者代码生成，可替代 JSP 页面或者 Velocity 等模板。 指令和 Velocity 相似，表达式和 Java 保持一致，易学易用。

- 支持类似与 Velocity 的多种指令
- 支持静态编译
- 支持编译缓存
- 支持热加载
- 支持类型推导
- 支持泛型
- 支持可变参数方法调用
- 支持方法重载
- 支持类似于 Groovy 的方法扩展
- 支持函数扩展

完善的中文在线文档：[http://subchen.github.io/jetbrick-template](http://subchen.github.io/jetbrick-template/)/