| CS290I - Scalable Internet Services and Systems | |
|
Thorsten von Eicken - UCSB - Winter 2002 |
|
To use WebMacro, you need to add the WebMacro jar
/cs290i/src/webmacro/webmacro.jar
to the wrapper.classpath in your server's jserv.properties.
WebMacro uses a cache manager to cache the templates after parsing them. This increases the performance dramatically, but affects debugging: if you change the template, you need to make sure that the cache manager reads the new copy. You have three choices here:
CachingProvider.template.CacheManager: org.webmacro.resource.SimpleCacheManager CachingProvider.url.CacheManager: org.webmacro.resource.SimpleCacheManager SimpleCacheManager.*.ExpireTime: 30000 SimpleCacheManager.*.ReloadOnChange: true
For additional info see: http://www.webmacro.org/ReleaseAndVfc.
Updated 01/25/2002