This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 with Freemarker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 with Freemarker" Watch "Struts 2 with Freemarker" New topic
Author

Struts 2 with Freemarker

Kim Long
Greenhorn

Joined: Jun 06, 2008
Posts: 9
Hi,

i have doing some tests with freemarker latley and it seems nice.
sadly there are not many exmaples about best practise solution or i didnt found them. what i want to achieve is that i can build my own libary and import this into my template files, which is working quiete well. the next step i wanna do but i really dont know how is that i for example define a variable in my templte like and i want the framework struts 2 handle or to pick which template actually will be shown there or included.
so maybe i have a propertie file where i can do a mapping? or do i have to write it somehow myself? i really didn't found any helpful example how to achiev this or even if its possible. the problem is that i'm a beginner, and i try to evolve by making tutorials or examples.
so i don't know really where or how to start.
i hope someone can help me, thanks in advance.

Kim
 
Have you checked out Aspose?
 
subject: Struts 2 with Freemarker
 
It's not a secret anymore!