解决HTML视图我目前的工作代码是这样的如何在spring中加载html视图?
<mvc:resources mapping="/static/**" location="/WEB-INF/static/html/" />
<bean id="viewResolver"
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="" />
<property name="suffix" value=".html" />
</bean>
,但我需要返回查看,如
我怎样才能使它这样?
return "index";
非常感谢我的努力。这解决了我的问题。保存我的一天.. –