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>
时间: 2024-12-21 21:15:22