您将需要连接
templateEngine到
viewResolver。这是我的工作对象:
<bean id="viewResolver" > <property name="order" value="1"/> <property name="characterEncoding" value="UTF-8"/> <property name="templateEngine" ref="templateEngine"/> <!-- THIS --></bean><bean id="templateEngine" > <property name="templateResolvers"> <set> <ref bean="webTemplateResolver"/> </set> </property> <property name="additionalDialects"> <set> <bean /> </set> </property></bean>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)