From the imagedb sample from Spring Framework 1.0.1 there is a copy and
paste comment error in image-servlet.xml. The second comment needs to
refer to FreeMarker instead of Velocity.
<!-- Configurer that sets up a VelocityEngine for Velocity views
-->
<bean id="velocityConfigurer"
class="org.springframework.web.servlet.view.velocity.VelocityConfigurer">
<property
name="resourceLoaderPath"><value>WEB-INF/views/</value></property>
</bean>
<!-- Configurer that sets up a VelocityEngine for Velocity views
-->
<bean id="freemarkerConfigurer"
class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property
name="templateLoaderPath"><value>WEB-INF/views/</value></property>
</bean>
-Janek
|