【问题解决】springmvc整合mybatis的练习 网页404异常

项目:springmvc-day1 springmvc整合mybatis练习

用浏览器访问quueryItems.action始终404,在项目中添加一个index.html,再在浏览器中访问index.html,发现是可以访问的,检查项目,发现最终原因是因为没有在web.xml文件里面配置DispatcherServlet

猜你喜欢

转载自www.cnblogs.com/gongren/p/9880442.html