[stringtemplate-interest] Feature Request for StringTemplate v4: STGroupDir taking URL parameter

Cliff Zhao zhaotq at gmail.com
Thu Mar 4 13:24:39 PST 2010


Terence,
I would like to see another set of STGroupDir constructors that take an URL
instead of dirName. It will give me a great flexibility to integrate
StringTemplate into a web application. That way, I can put my templates into
/WEB-INF/templates and use servletContext.getResource("/WEB-INF/templates")
to get the group URL, then initialize the STGroupDir by new STGroupDir(url,
'$','$').

Thank you very much.

Best Regards,
Cliff Zhao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20100304/f0c3405d/attachment.html 


More information about the stringtemplate-interest mailing list