tag_syntax 改为auto_detect
<bean class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="freemarkerSettings">
<props>
<prop key="tag_syntax">auto_detect</prop>
<prop key="defaultEncoding">UTF-8</prop>
</props>
</property>
</bean>
defaultEncoding 改为urf-8 防止乱码