Menu

#42 支持设置Root对象

open
nobody
None
3
2012-12-15
2012-10-03
li jia zhi
No

template.setRootValue(new User());
然后再模板里可以直接引用User对象
${name}.
这点可以改善struts的beetl功能

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.