I’m building an standard web application.
For generating view i’m using jstl.
Withih this application i need to send some emails.
I was looking for a email temlate, and i found Velocity.
And now i thinking, do i really need a Velocity or i can use jstl for email templates. Maybe jstl would be the best solution ?
Or maybe you have your own solutions for email templates ?
If there is an possibility to use jstl, how to use it ?
Do you have any examples or tutorials ?
I use Velocity as it is easy, light, lots of support on the web and you are not limited to what you can do with your templates.
Here is an implementation of Velocity with Spring:
velocity null point exception
For the template, just use HTML with keywords
${keyword}You can use loops, inject beans etc.