spring velocity乱码问题

来源:百度知道 编辑:UC知道 时间:2024/06/09 03:13:46
搜索了很多的都是说编码问题,怎么解决呀

<bean id= "velocityConfig " class= "org.springframework.web.servlet.view.velocity.VelocityConfigurer ">
<property name= "resourceLoaderPath ">
<value> / </value>
</property>
<property name= "velocityProperties ">
<props>
<prop key= "input.encoding "> gb2312 </prop>
<prop key= "output.encoding "> gb2312 </prop>