摘要: 创建bean: 1.默认构造函数 spring.xml <bean class="com.test.spring.HelloSpring"></bean> HelloSpring.java HelloSpring() {} 2.指定构造函数 <bean class="com.test.spring. 阅读全文
posted @ 2020-05-06 20:47 hy叶子 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 【本文图部分取自别处】 一、Jsp与Servlet 1.JSP九大内置对象 2.生命周期 3.Servlet生命周期 init( ),service( ),destroy( )是Servlet生命周期的方法。代表了Servlet从“出生”到“工作”再到“死亡 ”的过程。Servlet容器(例如Tom 阅读全文
posted @ 2020-05-06 20:44 hy叶子 阅读(310) 评论(0) 推荐(0) 编辑