zoukankan      html  css  js  c++  java
  • applicationContext.xml

    <?xml version="1.0" encoding="GB2312"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:context="http://www.springframework.org/schema/context"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
     http://www.springframework.org/schema/mvc http://www.springframework.org/schema/beans/spring-mvc-3.0.xsd
      http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
        <bean id="applicationProperties"
            class="org.springframework.beans.factory.config.PropertiesFactoryBean">
            <property name="ignoreResourceNotFound" value="true" />
            <property name="locations">
                <list> 
                    <!-- 标准配置 -->
                    <value>classpath:jdbc.properties</value>
                </list> 
            </property>
        </bean>
        
        <bean id="propertyConfigurer"
            class="cn.edu.hbcf.common.springmvc.CustomizedPropertyConfigurer">
            <property name="locations">
                <list>
                    <value>classpath:jdbc.properties</value>
                    <value>classpath:system.properties</value>
                </list>
            </property>
        </bean>
        <import resource="classpath:/spring/spring-pool.xml" />
        
        <import resource="classpath:/spring/spring-common.xml" />
        
        
        <import resource="classpath:/spring/spring-webservice.xml"/>
                
        
    </beans>
  • 相关阅读:
    微信小程序开发---各代码文件简介
    LeetCode71. 简化路径
    LeetCode70. 爬楼梯
    LeetCode69. x 的平方根
    LeetCode68. 文本左右对齐
    LeetCode剑指 Offer 09. 用两个栈实现队列
    LeetCode67. 二进制求和
    LeetCode66. 加一
    LeetCode65. 有效数字
    LeetCode64. 最小路径和
  • 原文地址:https://www.cnblogs.com/zrui-xyu/p/4942956.html
Copyright © 2011-2022 走看看