`

web.xml中的一些配置解释

    博客分类:
  • xml
阅读更多

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中

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics