How to use Struts 2 with Velocity and Tiles

余生颓废 提交于 2019-12-12 10:44:48

问题


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).


回答1:


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

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.

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



来源:https://stackoverflow.com/questions/320049/how-to-use-struts-2-with-velocity-and-tiles

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!