会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
且听风吟-wuchao
联系方式:wuchaodzxx@126.com
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
24
下一页
2016年11月7日
Spring的初始化:org.springframework.web.context.ContextLoaderListener
摘要: 在web.xml中配置 <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener> ContextLoaderListener的作用就是启动W
阅读全文
posted @ 2016-11-07 14:48 且听风吟-wuchao
阅读(94208)
评论(2)
推荐(7)
2016年10月29日
2016-10-29
该文被密码保护。
阅读全文
posted @ 2016-10-29 22:11 且听风吟-wuchao
阅读(5)
评论(0)
推荐(0)
2016年10月28日
Iterable,Iterator和forEach
摘要: Iterable Iterable接口有一个方法声明,方法用于获取迭代器。实现该接口的类表明可以使用foreach来遍历。实现该接口的类中的iterator()方法必须返回一个迭代器。而迭代器类通常作为内部类来实现,此内部类必须实现Iterator接口。 Iterator 实现该接口的类可以作为迭代
阅读全文
posted @ 2016-10-28 20:26 且听风吟-wuchao
阅读(2650)
评论(0)
推荐(0)
集合的线程安全性
摘要: Vector、ArrayList、LinkedList Vector和ArrayList在使用上非常相似,都可用来表示一组数量可变的对象应用的集合,并且可以随机地访问其中的元素。 Vector的方法都是同步的(Synchronized),是线程安全的(thread-safe),而ArrayList的
阅读全文
posted @ 2016-10-28 15:17 且听风吟-wuchao
阅读(8006)
评论(0)
推荐(1)
2016年10月25日
Servlet生命周期
摘要: JavaWeb应用的生命周期由Servlet容器控制,而Servlet的容器也同样由Servlet容器控制。Servlet的生命周期分为三个阶段:初始化阶段、运行阶段和销毁阶段。javax.servlet.Servlet接口定义了三个方法:init()、service()和destroy()。它们会
阅读全文
posted @ 2016-10-25 15:28 且听风吟-wuchao
阅读(231)
评论(0)
推荐(0)
JavaWeb应用的生命周期
摘要: JavaWeb应用的生命周期是由Servlet容器来控制。 启动阶段 (1)读取web.xml配置文件数据 (2)为JavaWeb应用创建一个ServletContext对象 (3)对所有的Filter进行初始化。 (4)对需要在Web应用启动时就被初始化的servlet进行初始化。 运行阶段 所有
阅读全文
posted @ 2016-10-25 14:29 且听风吟-wuchao
阅读(485)
评论(0)
推荐(0)
2016年10月24日
2016-10-24
该文被密码保护。
阅读全文
posted @ 2016-10-24 22:12 且听风吟-wuchao
阅读(1)
评论(0)
推荐(0)
2016年10月23日
将博客搬至CSDN
摘要: 将博客搬至CSDN
阅读全文
posted @ 2016-10-23 21:57 且听风吟-wuchao
阅读(125)
评论(0)
推荐(0)
(五)新类库的构件
摘要: CountDownLatch A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes. A C
阅读全文
posted @ 2016-10-23 21:43 且听风吟-wuchao
阅读(366)
评论(0)
推荐(0)
2016年10月22日
Servlet中常用对象及API类之间的关系
摘要: Servlet最常用的对象: 请求对象:ServletRequest和HttpServletRequest,通过该对象获取来自客户端的请求信息 响应对象:ServletResponse和HttpServletResponse,通过该对象生成响应结果 Servlet配置对象:ServletConfig
阅读全文
posted @ 2016-10-22 22:07 且听风吟-wuchao
阅读(458)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
24
下一页
公告