【spring】配置文件命名空间写法
2018-02-23 16:28
483 查看
完整的配置文件头如下:
参考:https://www.cnblogs.com/hoojjack/p/6746075.html
授人以渔:^_^
http://www.springframework.org/schema
<?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:cache="http://www.springframework.org/schema/cache" 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:jms="http://www.springframework.org/schema/jms" xmlns:lang="http://www.springframework.org/schema/lang" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:oxm="http://www.springframework.org/schema/oxm" xmlns:p="http://www.springframework.org/schema/p" xmlns:task="http://www.springframework.org/schema/task" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.1.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-4.1.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-4.1.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.1.xsd http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-4.1.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-4.1.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm-4.1.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.1.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.1.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd"> </beans>
参考:https://www.cnblogs.com/hoojjack/p/6746075.html
授人以渔:^_^
http://www.springframework.org/schema
相关文章推荐
- spring配置文件命名空间读取顺序
- spring配置文件 --可恶的命名空间
- spring 配置文件 常使用的命名空间
- spring---------配置文件的命名空间
- Spring学习1--配置文件的命名空间
- Spring配置文件的命名空间URI
- eclipse中配置Spring配置文件自动提示和命名空间
- eclipse中spring配置文件的自动提示和命名空间的添加
- SPRING---------配置文件的命名空间
- Spring配置文件之引入命名空间
- [原]eclipse中spring配置文件的自动提示和命名空间的添加
- eclipse中spring配置文件的自动提示和命名空间的添加
- eclipse安装spring tool suite插件便于xml配置文件选择命名空间添加
- Spring配置文件命名空间
- 在Spring的XML文件中通过命名空间配置的标签是怎么解析的?
- 【spring】spring配置文件命名空间(如:xmlns:beans="http://www.springframework.org/schema/beans")
- eclipse中spring配置文件的自动提示和命名空间的添加
- eclipse中spring配置文件的自动提示和命名空间的添加
- spring---------配置文件的命名空间
- spring 配置文件上面的命名空间和规范复习