• 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>
  • 相关阅读:
    RK3288 GMAC整理
    Linux电源管理-Linux regulator framework概述
    SRAM、DRAM、SDRAM、DDR、DDR2、DDR3
    内核错误值
    module_param和module_param_array用法
    VGA
    如何获取显示器的EDID信息
    进程间通信--共享内存
    Java 中的 CAS 简述及原理解析
    volatile 关键字特性解析及单例模式下的使用
  • 原文地址:https://www.cnblogs.com/zrui-xyu/p/4942956.html
Copyright © 2020-2023  润新知