Hi,
I want to generate my view with velocity. Is that possible to include .vm files?
I tried it with
#include("../../general/aa.vm")
But file isn't included and I get
org.apache.velocity.exception.VelocityException: Could not find template 'mypath/create.vm' ensure it is in the classpath.
AFAIK this is not possible with a plugin, the files need to be in the web-app classloader classpath, ie web-inf/classes, so no good for a plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.