Struts2与Velocity整合

转自:http://yjhexy.iteye.com/blog/978123 (之前看Struts2源码,发现view包下面有Velocity,JSP,FreeMarker等,这才知道了Velocity) 我这边引出几个问题。 问题1,struts2 是怎么让 velocity 按照指定的 ResourceLoader 加载 vm 模板的?   首先,struts 默认的查找vm模板的路径有两种:
相关文章
相关标签/搜索