哪个版本的Struts2支持@include_page Freemarker标签?

时间:2011-08-05 02:06:17

标签: web-applications struts2 annotations freemarker

Freemarker documentation注意到:

...some Web Application Frameworks don't use FreemarkerServlet, so include_page is not available.

Struts 2.1.6似乎支持@include_page注释,但我升级到Struts 2.1.8.1,它似乎不支持它。有谁知道哪个版本的Struts2支持@include_page注释?

我主要对高于2.1.6的版本感兴趣。

1 个答案:

答案 0 :(得分:0)

不要担心。

根据Ischin的建议,只需使用它作为一个不错的选择:

<@s.include value="file_name" />