问题
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