java spring修改默认views

进入src /main/resources/servlet/ 修改sevlet-context.xml,之后找到14行


<bean id="velocityConfig"
        class="org.springframework.web.servlet.view.velocity.VelocityConfigurer">
        <property name="resourceLoaderPath" value="/views_source/" />
        <property name="configLocation" value="classpath:velocity/velocity.properties" />
    </bean>
将valuer改为新的名字