Spring新特性的AOP配置头去那里找呢??
spring2-3新特性aop配置,要求beas头的配置要改这个头要去那里找?
支持那些版本呢??
给个地址呗?
--------------------编程问答-------------------- 以spring2.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-2.5.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
</beans>
你要是想看的话,在spring.jar下的spring.schemas文件下查看,比如:
http\://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd
访问http://www.springframework.org/schema/aop/spring-aop-2.0.xsd就可以查看详细信息 --------------------编程问答--------------------
本身你下载spring的时候就有一个example文件夹,在那里直接复制,最好用3吧。
补充:Java , Java EE