Vote count:
0
I'm currently using VelocityEngineUtils.mergeTemplateIntoString() method to read velocity templates file to send emails. now I created an editor which I would like to allow users to create their own templates and save the template content into a string in database, so they can freely create their own email templates and use them.
but I can't find a equivalent way to VelocityEngineUtils.mergeTemplateIntoString which can load the template from a String. or maybe someone can suggest me the correct way to do this feature.
thanks
Spring: 4.06 velocity: 1.7 velocity tool: 2.0
asked 25 secs ago
Spring load velocity template from string
Aucun commentaire:
Enregistrer un commentaire