Installing FreeMarker

No real installation is needed. Simply ensure that freemarker.jar is somewhere where your Java application's class-loader will find it. In web application this usually means putting freemarker.jar into the WEB-INF/lib directory of your web application. (If you want to use FreeMarker with JSP Model-2 style (which also means that you can use custom JSP taglibs in the templates), some extra steps needed. For more information please see the chapter about servlets.)

FreeMarker has no required dependencies. But to use certain optional FreeMarker features, the related party libraries have to be available for the class-loader:

上一章 首页 下一章