配置spring的web.xml

Posted 逍遥客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了配置spring的web.xml相关的知识,希望对你有一定的参考价值。

1 配置web.xml

????<context-param>

????????<param-name>contextConfigLocation</param-name>

????????<param-value>classpath*:/applicationContext*.xml</param-value>

????</context-param>

????<listener>

????????<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

????</listener>

以上是关于配置spring的web.xml的主要内容,如果未能解决你的问题,请参考以下文章

项目结构

Spring中Quartz的配置

Spring使用@Scheduled注解配置定时任务

spring配置出错

Spring Boot节省了配置吗?

Eclipse下如何配置spring应用