File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Using Freemarker to template email... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using Freemarker to template email..." Watch "Using Freemarker to template email..." New topic

Using Freemarker to template email...

Eric Nielsen
Ranch Hand

Joined: Dec 14, 2004
Posts: 194
I'm trying to figure out the simple/ clean way to hook up freemarker ( or other template system ) to generate email bodies to send in a struts 2.1 based application.

I've seen some helper classes in Spring based apps that help deal with classpath issues but I haven't seen similar for struts 2. Do I just create a Configuration by hand an inject around?

I agree. Here's the link:
subject: Using Freemarker to template email...
It's not a secret anymore!