如题,用tomcat没有可以进入index.jsp但是用jetty就是不能启动,最后发现了解决办法是在springmvc的配置文件中加入
<mvc:default-servlet-handler/>
这样就可以了。