Using FreeMarker (or Velocity) to template emails sent by a struts2 app?

2010-10-20 Thread Eric Nielsen
Is there a good/standard way to use FreeMarker (or Velocity) to template emails sent by a Struts2 application? I hacked up something that works, but my solution doesn't know about struts2, so it can't use the taglibs to produce URL. (Ie sending an email for a new account with an activation link).

Re: Using FreeMarker (or Velocity) to template emails sent by a struts2 app?

2010-10-19 Thread Maurizio Cucchiara
I use to do through spring framework (http://static.springsource.org/spring/docs/2.5.x/reference/mail.html#mail-templates) 2010/10/18 Eric Nielsen : > Is there a good/standard way to use FreeMarker (or Velocity) to > template emails sent by a Struts2 application? > > I hacked up something that wor

Using FreeMarker (or Velocity) to template emails sent by a struts2 app?

2010-10-18 Thread Eric Nielsen
Is there a good/standard way to use FreeMarker (or Velocity) to template emails sent by a Struts2 application? I hacked up something that works, but my solution doesn't know about struts2, so it can't use the taglibs to produce URL.  (Ie sending an email for a new account with an activation link).