开发者

Which versions of Struts2 support the @include_page Freemarker tag?

开发者 https://www.devze.com 2023-03-26 14:30 出处:网络
The Freemarker documentation notes: ...some Web Application Frameworks don\'t use FreemarkerServlet, so include_page is not available.

The Freemarker documentation notes:

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

Struts 2.1.6 seems to support the @include_page annotation, but I upgraded to Struts 2.1.8.开发者_如何学编程1, and it doesn't seem to support it. Does anyone know definitively which version of Struts2 supports the @include_page annotation?

I am interested mainly in versions higher than 2.1.6.


Don't worry about it.

As per Ischin's suggestion, just use this as a nice alternative:

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

精彩评论

暂无评论...
验证码 换一张
取 消