Re: Freemarker loading into JSP
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Monday, June 2, 2008, 3:16:42 PM, kukudas wrote: > wow so much replies :) thx. i saw an example on the freemarker.jar which has > embedded jsp with freemarker gonna check this out in the next days. What i > basicly want to achieve is that i maybe have a file probably xml where i can > define my freemarker templates. That's possible, for example, by writing a custom TemplateLoader. > And then when i need one i make an reference in my jsp. (Maybe it would be simpler if you just left out JSP completely.) > I think this would be awesome so i could change content very quick just > changing the template. Is there any best practise for making the "view" > modul oriented? Using FreeMarker purely (no JSP or those XML files) with FreeMarker macros can work in some cases. > I'm using Struts 2 and Spring too maybe i can use Spring to somehow > map the Freemarker Templates. -- Best regards, Daniel Dekany ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/