java spring修改默认views
Others 2019-07-09 07:31:20 2019-07-09 07:31:20 2054 次浏览进入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改为新的名字
Links: 367