All, I have a template where I'd like to take some text in a variable and do parametric-replacement like new MessageFormat("format").format(replacements) might do.
I'm already using Velocity Tools/Struts to great effect with pre-defined messages in properties files, but this data needs to come from a database and I'd rather not pre-process the data in Java code unless absolutely necessary. I've browsed through the tools available from Velocity Tools and I don't really see anything that would meet my needs. I even looked at ClassTool to see if I could instantiate an object through brute-force and it looks like that is not possible. Is there a stock tool I can use, or will I have to write my own? Thanks, -chris
signature.asc
Description: OpenPGP digital signature