Created
January 20, 2013 09:22
-
-
Save rei999/4577444 to your computer and use it in GitHub Desktop.
velocity in servlet config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="velocityConfig" | |
class="org.springframework.web.servlet.view.velocity.VelocityConfigurer"> | |
<property name="resourceLoaderPath" value="/velocity" /> | |
</bean> | |
<bean id="viewResolver" | |
class="org.springframework.web.servlet.view.velocity.VelocityViewResolver"> | |
<property name="cache" value="false" /> | |
<property name="prefix" value="" /> | |
<property name="suffix" value=".vm" /> | |
<property name="exposeSpringMacroHelpers" value="true"/> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment