diff options
author | Claude Brisson <claude@renegat.net> | 2021-02-25 14:17:26 +0100 |
---|---|---|
committer | Claude Brisson <claude@renegat.net> | 2021-02-25 14:17:26 +0100 |
commit | c96dbe69e5b0ee87cbdc6b6a645719252fc20565 (patch) | |
tree | dbeab4b2eeeec67c472f48a079e5b218b4fd42b6 | |
parent | 35e922975b4b48124ce2737905a215a5a6377025 (diff) | |
download | apache-velocity-engine-c96dbe69e5b0ee87cbdc6b6a645719252fc20565.tar.gz |
Add readme to spring-velocity-support
-rw-r--r-- | spring-velocity-support/README.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spring-velocity-support/README.md b/spring-velocity-support/README.md new file mode 100644 index 00000000..f7507aed --- /dev/null +++ b/spring-velocity-support/README.md @@ -0,0 +1,22 @@ +Title: Apache Velocity Spring Support + +# Apache Velocity Spring Support + +This module is an adaptation of the engine support initially hosted by the Spring project in its 3.x versions. + +Example configuration: + +```xml +<bean id="velocityEngine" + class="org.apache.velocity.spring.VelocityEngineFactoryBean"> + <property name="velocityProperties"> + <props> + <prop key="resource.loader">class</prop> + <prop key="class.resource.loader.class"> + org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader + </prop> + </props> + </property> +</bean> +``` + |