电脑技术学习

MVC框架Mentawai 1.6 发布

dn001
MVC框架Mentawai 1.6 版本发布了.

Mentawai是一个MVC Web框架用来简化Web应用程序的开发.它的主要特点是小(它只解决了web开发过程中碰到的最基本问题),简单(它的所有配置都是用纯Java代码实现,没有绑定额外的XML文件),灵活(整个框架容易按自己的需要进行扩展).

新版本增加了很多tags, 支持ajax,groovy等.

同时,增加了重量级的Sticky Actions.

关于Sticky Actions., 官方提到:
Sticky Actions will persist its state across multiple invocations from the time you call adhere() until you release the action by calling disjoin(), in other words, the same action instance will be used for sucessive action requests.

You can also trap the onRemoved() callback for those cases where the session expires or gets invalidated before the disjoin() method was called. (Ex: User leaves the page or closes the browser).

标签: