多个tiles-def xml文件
我正在使用 Struts 2.2.1 和tiles 2.1.4。
想知道是否有办法拥有多个tiles-def xml 文件,因为我的tiles-def xml 文件变得非常大。
I'm using Struts 2.2.1 and tiles 2.1.4.
Wanted to know if there is a way to have multiple tiles-def xml files as my tiles-def xml file is becoming really big.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定,但我相信您需要将
param
传递给web.xml
中的 Tiles 监听器,类似上面的代码未经过测试:)
Not sure but i believe you need to pass
param
to Tiles listener inweb.xml
something likeCode above is not tested :)