Confusing issue here, any ideas most welcome!
Why does:
<bean id="velocityConfig"
class="org.springframework.web.servlet.view.veloci ty.VelocityConfigurer">
<property name="resourceLoaderPath"><value>/WEB-INF/velocity/</value></property>
<property name="velocityProperties">
<props>
<prop key="file.resource.loader.cache">false</prop>
<prop key="directive.foreach.counter.initial.value">0</prop>
</props>
</property>
</bean>
work correctly, but
<bean id="velocityConfig"
class="org.springframework.web.servlet.view.veloci ty.VelocityConfigurer">
<property name="velocityProperties">
<props>
<prop key="resource.loader">file</prop>
<prop key="file.resource.loader.class">
org.apache.velocity.runtime.resource.loader.FileRe sourceLoader
</prop>
<prop key="file.resource.loader.path">/WEB-INF/velocity/</prop>
<prop key="file.resource.loader.cache">false</prop>
<prop key="directive.foreach.counter.initial.value">0</prop>
</props>
</property>
</bean>
does not?


Reply With Quote
