Re: Pre-parsing FreeMarker Templates
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Saturday, June 18, 2011, 1:24:27 PM, Daniel Henrique Alves Lima wrote: > Hi, everybody. > > Can I use Configuration.getTemplate(java.lang.String name, > java.util.Locale locale, java.lang.String encoding, boolean parse) to > pre-parsing FreeMarker templates without evaluating/processing them? getTemplate already does just that. To execute a template you call the `process` method. > Is > this something similar to JSP pre-compilation? > It's not a performance issue. I just want to check the syntax of all > my FreeMarker template in an automatic procedure of "sanity check". > > Thanks in advance. > > Best regards, > > Daniel. > > PS: I think I read something about this subject before. I just can not > remember where. -- Best regards, Daniel Dekany ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev