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.