a struts2 plugin it can load freemarker template file from database,also can upload your freemarker file with a maven plugin