web.xml中的一些配置解释

xiaoxiao2026-06-19  25

1<context-param>         <param-name> contextConfigLocation</param-name>         <param-value> /WEB-INF/acegi/acegi-appContext.xml</param-value>     </context-param> //在web启动时文件配置信息放在contextConfigLocation     <listener>         <listener-class> org.springframework.web.context.ContextLoaderListener</listener-class>     </listener> //在web启动时读取contextConfigLocation得到配置文件信息,生成BeanFactory放在servletContet中

转载请注明原文地址: https://www.6miu.com/read-5050396.html

最新回复(0)