配置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>

posted @ 2016-07-02 10:51  牛蜗  阅读(138)  评论(0编辑  收藏  举报