标签:读取 动作 span pat 文件中 list name rgb apt
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:/account-persist.xml
classpath:/account-captcha.xml
classpath:/account-email.xml
classpath:/account-service.xml
</param-value>
</context-param>
这个是maven实战12章中的项目配置
由上面的初始化过程可知容器对于web.xml的加载过程是context-param >> listener >> fileter >> servlet
${initParam.contextConfigLocation}
声明:此内容为抄袭所得
spring web.xml 标签<param-name>contextConfigLocation</param-name>
标签:读取 动作 span pat 文件中 list name rgb apt
原文地址:https://www.cnblogs.com/zytcomeon/p/14140722.html