This is because you integrated Velocity, you need to configure the following files in spring
<bean id="velocityViewResolver"
class="org.springframework.web.servlet.view.velocity.VelocityViewResolver">
<property name="suffix" value=".html" />
<property name="contentType">
<value>text/html;charset=UTF-8</value>
</property>
</bean>