如何将 Struts 2 与 Tiles 3 集成 [英] How to integrate Struts 2 with Tiles 3

查看:45
本文介绍了如何将 Struts 2 与 Tiles 3 集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何将 Struts 2 与 Tiles 3 集成?struts2-tiles-plugin 目前 (2.3.4.1) 与旧版本的 tiles(2.0.6 版)一起工作,这可能有点麻烦.

这是一个自我回答,以帮助他人进行整合.

解决方案

感谢 Ken 为 Struts 2 添加了一个新插件以支持 Tiles 3 结果类型,它应该会在即将发布的新版本 - Struts 2.3.9 中可用

https://cwiki.apache.org/confluence/display/WW/Tiles+3+插件

How do we integrate Struts 2 with Tiles 3? The struts2-tiles-plugin currently (2.3.4.1) works with an older version of tiles (version 2.0.6) this can be a bit of a nuisance.

This is a self-answer, to help others with their integration.

解决方案

Thanks to Ken a new plugin was added to Struts 2 to support Tiles 3 result type, it should be available with upcoming new release - Struts 2.3.9

https://cwiki.apache.org/confluence/display/WW/Tiles+3+Plugin

这篇关于如何将 Struts 2 与 Tiles 3 集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆