I am using ClasspathResourceLoader in my velocityEngine bean to pick the templates.
Now, I want to change the template location to be picked up from an external http URL say S3 .
Would it be possible to give a http URL in resource.loader.class? or Is there any other class which I can use to set the path to http URL?
Currently we are using the below configuration
<bean id="velocityEngine"
class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
<property name="velocityProperties">
<value>
resource.loader=class
class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
</value>
</property>
</bean>
Thanks, Viswa chaitanya
Aucun commentaire:
Enregistrer un commentaire