File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Using Freemarker to template email... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using Freemarker to template email...
 
Similar Threads
velocity
Invoking a simple action generates error
Configuring FreeMarker(.ftl) with Struts 2
Migrating from Struts
IDEA IntelliJ8 and FreeMarker