This is an example of using freemarker.ext.beans and freemarker.ext.servlet packages. Following the links below you can list the system properties of the underlying Virtual Machine, as well as browse the directories of the server's local file system. Note that these examples can impose a security threat in a production environment!
IMPORTANT!
Make sure freemarker.jar is in
this webapp's classpath before proceeding. A convenient way for doing it
is to place them into WEB-INF/lib directory.