Dear everyone,

I've setup my Webapp with Struts2 using Tiles, but I also want to use Velocity to read a template and send a newsletter email. It would be good if I could access the already configured VelocityEngine from within my action. Otherwise I would need to inject the ServletContext by myself when initializing Velocity since I want to use the WebappResourceLoader.

The result type "velocity" work properly, but how can I read a Template?

Thank you for any hint,
Markus



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to