你的位置:首页 > 软件开发 > Java > Spring MVC注解的一些案列

Spring MVC注解的一些案列

发布时间:2016-11-21 22:00:20
1. spring MVC-annotation(注解)的配置文件ApplicationContext.<? ="http://www.w3.org/2001/ ="http://www.springframework.org/schema/c ...

    1.  spring MVC-annotation(注解)的配置文件ApplicationContext.

<?  ="http://www.w3.org/2001/  ="http://www.springframework.org/schema/context"  ="http://www.springframework.org/schema/aop"  ="http://www.springframework.org/schema/mvc"   ="http://www.springframework.org/schema/tx"   xsi:schemaLocation="    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd    http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd     http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd">   <context:component-scan base-package="cn.happy.*"></context:component-scan>   </beans>

原标题:Spring MVC注解的一些案列

关键词:Spring

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录