Configure velocity tools with spring 3.x
问题 I am new to both spring and velocity I want to configure velocity tools with spring 3.x but I could not find a good article on that + the velocity template is not showing the session variable I set from Spring controller 回答1: As for configuring Velocity tools in spring 3.x, first put your tools.xml file somewhere useful, eg: /WEB-INF/vm/toolbox.xml THEN configure your view resovler to look in that place: <bean id="viewResolver" class="org.springframework.web.servlet.view.velocity