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>
  • 相关阅读:
    volatile
    public && protected && private
    class && struct
    jQuery-实现全选与反选
    .NET Fframework
    C# 中的单精度与双精度区别
    C#中的集合(HashTable与Array类)
    c#中的数组、ArrayList、List区别
    C#属性和字段区别、get与set用法
    C#中委托和事件
  • 原文地址:https://www.cnblogs.com/zrui-xyu/p/4942956.html
Copyright © 2011-2022 走看看