随笔分类 - spring
摘要:ImportSelector接口源码 package org.springframework.context.annotation; import org.springframework.core.type.AnnotationMetadata; /** * Interface to be impl
阅读全文
摘要:1 运行SpringApplication.run()方法 org.springframework.boot.SpringApplication.SpringApplication(org.springframework.core.io.ResourceLoader, java.lang.Class
阅读全文
摘要:创建bean: 1.默认构造函数 spring.xml <bean class="com.test.spring.HelloSpring"></bean> HelloSpring.java HelloSpring() {} 2.指定构造函数 <bean class="com.test.spring.
阅读全文
摘要:【本文图部分取自别处】 一、Jsp与Servlet 1.JSP九大内置对象 2.生命周期 3.Servlet生命周期 init( ),service( ),destroy( )是Servlet生命周期的方法。代表了Servlet从“出生”到“工作”再到“死亡 ”的过程。Servlet容器(例如Tom
阅读全文
摘要:JSP -> Java Server Page 后端 jsp -> JavaScript 前端 JSP语法 1.JSP插入Java代码 三种形式: (1)<%! %> (2)<% %> (3)<%= %> <%! %>与<% %>区别: jsp <%! %> 与 <% %> 区别 2.JSP作用域
阅读全文