wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using Freemarker to template email..." Watch "Using Freemarker to template email..." New topic
Author

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?

Thanks
 
Consider Paul's rocket mass heater.
 
subject: Using Freemarker to template email...
 
Similar Threads
Configuring FreeMarker(.ftl) with Struts 2
Invoking a simple action generates error
IDEA IntelliJ8 and FreeMarker
Migrating from Struts
velocity