public VelocityEngine createVelocityEngine() throws IOException, VelocityException(Code)
Prepare the VelocityEngine instance and return it.
the VelocityEngine instance throws: java.io.IOException - if the config file wasn't found throws: org.apache.velocity.exception.VelocityException - on Velocity initialization failure
Initialize a SpringResourceLoader for the given VelocityEngine.
Parameters: velocityEngine - the VelocityEngine to configure See Also: org.springframework.ui.velocity.SpringResourceLoader