FreeMarker configuration
hezjing <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi
The FreeMarker's FAQ explains that we can override the number format
suggested by the Java platform in the FreeMarker configuration.
For example:
cfg.setNumberFormat("0.######"); // now it will print 1000000
I suppose this is done in Java (?) and so, how can we configure this
without writing Java code?
If we have no choice but to code in Java to change the FreeMarker's
configuration, how would I do it in Spring MVC?
--
Hez
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone