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" />
精彩评论