如何在 Velocity 和 Tiles 中使用 Struts 2 [英] How to use Struts 2 with Velocity and Tiles

查看:64
本文介绍了如何在 Velocity 和 Tiles 中使用 Struts 2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人能够使用 struts 2 获得速度和磁贴?

Has anyone been able to get velocity and tiles working with struts 2?

我在网上查找示例或教程时遇到了一些问题,从我从邮件列表中收集的信息来看,这似乎根本不可能(但邮件已经很旧了).

I am having some problem finding examples or tutorials online and from what I have gathered from mailing lists it seems it might not even be possible at all (but the mails were quite old).

推荐答案

https://struts.apache.org/docs/tiles-plugin.html

您可以从 apache struts 的文档开始.我同时使用瓷砖和速度,它们工作正常.我在电子邮件模板和前端模板中使用了 Velocity.

You can start with the documentation from apache struts. I am using tiles and velocity both and they are working fine. I am using velocity for the emailing templates and tiles for the front-end templates.

您还可以参考 Dzone、TutorialsPoint 和 Mykong 上的各种示例.他们提供了很好的例子.

You can also refer to various examples on Dzone, TutorialsPoint as well as Mykong. They have provided good examples.

这篇关于如何在 Velocity 和 Tiles 中使用 Struts 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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