spring mvc学习笔记(一)web.xml文件配置的一点重要信息

通过这个web.xml文件可以看出,所有的*.shtml的请求,都会被springmvc这个servlet处理。这里如果没有指定contextConfigLocation这个参数,将会按照默认规则在classpath下寻找名称为{servlet-name}-servlet.xml的配置文件。

原文地址:https://www.cnblogs.com/zhangshitong/p/4828709.html