Freemarker Extensions Example

This is an example of using org.szegedi.freemarker.model and org.szegedi.freemarker.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 and freemarkerext.jar are in this webapp's classpath before proceeding. A convenient way for doing it is to place them into WEB-INF/lib directory.

List system properties
List file system roots