springmvc 配置直接访问页面

 <mvc:view-controller path="/" view-name="/home"/>

在mvc中配置,访问路径就可以了

原文地址:https://www.cnblogs.com/hpustudent/p/4319434.html