亦余心之所善兮,虽九死其犹未悔。这篇文章主要讲述2-2 Spring 容器的配置文件applicationContext.xml相关的知识,希望能为你提供帮助。
1.名称可以自己定义<
?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:context="http://www.springframework.org/schema/context"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.2.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.3.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd">
<
/beans>
【2-2 Spring 容器的配置文件applicationContext.xml】
推荐阅读
- xp系统电脑重启后打印文件报错的处理办法
- APP上点击事件时 取消点击的阴影
- with revoked permission android.permission.CAMERA
- Android中使用HttpClient发送Get请求
- Android 热补丁动态修复框架小结
- Android 高版本日历恢复转轮(DatePicker)
- Android 增量更新完全解析 是增量不是热修复
- 爱阅app --- 答复功能改进建议
- Android——HelloWorld