没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:task="http://www.springframework.org/schema/task" xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p"
xmlns:cache="http://www.springframework.org/schema/cache"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-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/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/cache
http://www.springframework.org/schema/cache/spring-cache.xsd">
<context:component-scan base-package="com.hxgis" />
<mvc:annotation-driven />
<task:annotation-driven />
<tx:annotation-driven proxy-target-class="true" />
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource">
<ref bean="dataSource" />
</property>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:task="http://www.springframework.org/schema/task" xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p"
xmlns:cache="http://www.springframework.org/schema/cache"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-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/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/cache
http://www.springframework.org/schema/cache/spring-cache.xsd">
<context:component-scan base-package="com.hxgis" />
<mvc:annotation-driven />
<task:annotation-driven />
<tx:annotation-driven proxy-target-class="true" />
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource">
<ref bean="dataSource" />
</property>
</bean>
<!-- 文件上传 -->
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="104857600"/>
<property name="maxInMemorySize" value="4096"/>
</bean>
<bean id="springContextHolder" class="com.hxgis.common.SpringContextHolder" lazy-init="false"></bean>
<bean id="dataSource" class="com.jolbox.bonecp.BoneCPDataSource" destroy-method="close">
<property name="driverClass" value="oracle.jdbc.driver.OracleDriver" />
<property name="jdbcUrl" value="jdbc:oracle:thin:@10.104.129.36:1521:orcl" />
<property name="username" value="miss"/>
<property name="password" value="miss123"/>
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@localhost:1521:orcl" /> -->
<!-- 在公司测试用的数据库连接 -->
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@10.104.207.202:1521:pmcs" />
<property name="username" value="qxt"/>
<property name="password" value="qxt"/> -->
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@localhost:1521:orcl" />
<property name="username" value="scott"/>
<property name="password" value="scott"/> -->
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@10.104.129.36:1521:orcl" />
<property name="username" value="miss"/>
<property name="password" value="miss123"/> -->
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@localhost:1521:orcl" /> -->
<property name="idleConnectionTestPeriod" value="60"/>
<!-- 文件上传 -->
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="104857600"/>
<property name="maxInMemorySize" value="4096"/>
</bean>
<bean id="springContextHolder" class="com.hxgis.common.SpringContextHolder" lazy-init="false"></bean>
<bean id="dataSource" class="com.jolbox.bonecp.BoneCPDataSource" destroy-method="close">
<property name="driverClass" value="oracle.jdbc.driver.OracleDriver" />
<property name="jdbcUrl" value="jdbc:oracle:thin:@10.104.129.36:1521:orcl" />
<property name="username" value="miss"/>
<property name="password" value="miss123"/>
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@localhost:1521:orcl" /> -->
<!-- 在公司测试用的数据库连接 -->
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@10.104.207.202:1521:pmcs" />
<property name="username" value="qxt"/>
<property name="password" value="qxt"/> -->
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@localhost:1521:orcl" />
<property name="username" value="scott"/>
<property name="password" value="scott"/> -->
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@10.104.129.36:1521:orcl" />
<property name="username" value="miss"/>
<property name="password" value="miss123"/> -->
<!-- <property name="jdbcUrl" value="jdbc:oracle:thin:@localhost:1521:orcl" /> -->
<property name="idleConnectionTestPeriod" value="60"/>
剩余5页未读,继续阅读






资源评论

chianLTG
- 粉丝: 0
- 资源: 2

上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
已下载
下载帮助

看过该资源的人还看了
ssm applicationContext.xml,SpringMVC,web设置
spring applicationContext.xml详细配置
spring+jpa的applicationContext.xml配置
spring3.0 + Quartz1.52 + applicationContext.xml
spring4的所有jar包+applicationContext.xml+web.xml
ssh框架事务管理applicationContext.xml配置文件
SSH框架applicationContext.xml头部文件
applicationContext.xml 详细配置
applicationContext.xml用法
applicationContext.xml详解
安全验证
文档复制为VIP权益,开通VIP直接复制
