随笔分类 -  Spring-姜涛

摘要:Spring_day04笔记 上次课内容回顾 Spring的AOP的注解(思想--) AOP的相关的注解 @Aspect :定义切面 通知的注解 @Before :前置通知 @AfterReturning :后置通知 @Around :环绕通知 @AfterThrowing :异常抛出通知 @Aft 阅读全文
posted @ 2020-05-29 09:21 学菜狗 阅读(198) 评论(0) 推荐(0)
摘要:Spring_day03笔记 上次课内容回顾 Spring的IOC的注解开发 注解的入门 引入aop的包 引入context约束 <context:component-scan /> 使用注解开发 @Component :定义Bean @Controller :WEB层 @Service :Serv 阅读全文
posted @ 2020-05-27 19:03 学菜狗 阅读(162) 评论(0) 推荐(0)
摘要:Spring框架第二天 课程回顾:Spring框架第一天 1. 概述 * IOC和AOP 2. 框架的IOC的入门 * 创建applicationContext.xml,引入约束,<bean/> * 配置文件<bean id="" class="" name="" scope=""/> 3. 依赖注 阅读全文
posted @ 2020-05-27 18:57 学菜狗 阅读(190) 评论(0) 推荐(0)
摘要:Spring_day01笔记 上次课内容回顾 Struts2的拦截器 Struts2的拦截器概念 拦截器:拦截对Action的访问,拦截到Action的具体的方法。 Struts2的执行流程 请求-à核心过滤器à创建ActionProxy,调用proxy.execute方法。在这个内部àAction 阅读全文
posted @ 2020-05-27 11:09 学菜狗 阅读(183) 评论(0) 推荐(0)