Spring3.0 xml头文件格式
来源:互联网 发布:iphone剪裁图片软件 编辑:程序博客网 时间:2024/06/04 18:34
普通格式:
<?xml version="1.0" encoding="UTF-8" ?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
</beans>
添加注解后的格式:
<?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"
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">
</beans>
本人项目为3.5格式
<?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:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-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/aop
http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.2.xsd">
- Spring3.0 xml头文件格式
- sqlMapConfig.xml的头文件格式
- Spring3.0 XML配置文件
- XML文件格式
- XML文件格式
- xml文件格式
- XML文件格式
- XML文件格式
- XML文件格式
- spring3.0使用annotation完全代替XML
- spring3.0使用annotation完全代替XML
- PNG头文件格式分析
- AVI文件格式-文件头
- bmp头文件格式
- BMP 头文件格式
- iOS头文件格式
- bmp 的文件格式头
- bmp头文件格式
- 嵌入式Linux开发
- 如何正确升级ADT 和SDK,附ADT离线包下载网址
- python类型转换、数值操作
- iOS绘图教程
- 程序员的《权利法案》
- Spring3.0 xml头文件格式
- ORA-00257 archiver error. 错误的处理方法
- 逆变与协变详解
- Tomcat服务器
- 图(2)--图的遍历和图的连通性
- Android中Activity启动模式详解
- 几个Python配置工具简介:setuptools、pip、virtualenv
- FXLabel支持中文行距的简单修改
- DRM in Android