Instantiates a new VelocityEngine.
The following is the default Velocity configuration
resource.loader = file, class
file.resource.loader.path = real path of webapp
class.resource.loader.description = Velocity Classpath Resource Loader
class.resource.loader.class = com.opensymphony.webwork.views.velocity.WebWorkResourceLoader
this default configuration can be overridden by specifying a webwork.velocity.configfile property in the
webwork.properties file. the specified config file will be searched for in the following order:
- relative to the servlet context path
- relative to the WEB-INF directory
- on the classpath
Parameters: context - the current ServletContext. may not be null |