The lifecycle of a servlet is controlled by the container in which the servlet has been deployed. When a request is mapped to a servlet, the container performs the following steps.
If an instance...
分类:
编程语言 时间:
2014-08-26 09:55:25
阅读次数:
292
Last night the book named [Data Structure with Java Hubbed] was closed. When talked about the advantage that I have taken of, with the help of that book I familize myself with data structure,
especi...
分类:
其他好文 时间:
2014-08-26 01:50:15
阅读次数:
231
An index is used to speed up searching in the database.By default, when you create this table, your data will be stored on disk and sorted by the "Id"...
分类:
数据库 时间:
2014-08-25 22:30:34
阅读次数:
407
CASE WHEN 条件1 THEN 结果1 WHEN 条件2 THEN 结果2 WHEN 条件3 THEN 结果3 WHEN 条件4 THEN 结果4......... WHEN 条件N THEN 结果N ELSE 结果XENDCase具有两种格式。简单Case...
分类:
数据库 时间:
2014-08-25 18:26:54
阅读次数:
181
5 life lessons you will learn the hard way五条垂暮之年才明白的道理Life is not easy when you are pursuing something worthwhile and ready to learn from the best exp...
分类:
其他好文 时间:
2014-08-25 11:31:04
阅读次数:
275
Issue:Gem files will remain installed in /tmp/bundler20140825-31835-p0c0p/sqlite3-1.3.9/gems/sqlite3-1.3.9 for inspection.Results logged to /tmp/bundl...
分类:
数据库 时间:
2014-08-25 01:10:23
阅读次数:
284
上篇文章介绍了JavaScript异步机制,请看这里。JavaScript异步机制带来的问题JavaScript异步机制的主要目的是处理非阻塞,在交互的过程中,会需要一些IO操作(比如Ajax请求,文件加载,Node.js中的文件读取等),如果这些操作是同步的,就会阻塞其它操作。异步机制虽然带来了许...
分类:
Web程序 时间:
2014-08-24 22:15:13
阅读次数:
491
比方说下面一段代码 make_process(List) when is_list(List)-> Pid1=spawn(fun()->do_action(List) end), register(pid1,Pid1), Pid2=spawn(fun()->do_action() end), register(pid2,Pid2). do_action(List)-> re...
分类:
其他好文 时间:
2014-08-24 18:09:53
阅读次数:
302
在用mongo进行查询时,$exists表示是否document是否包含这个field,即使field的value为null也算是包含。$exists
Syntax: { field: { $exists: } }
When is true, $exists matches the documents that contain the field, including documents w...
分类:
其他好文 时间:
2014-08-24 11:43:02
阅读次数:
187
题目链接Kundu is true tree lover. Tree is a connected graph havingNvertices andN-1edges. Today when he got a tree, he colored each edge with one of either...
分类:
其他好文 时间:
2014-08-23 22:55:51
阅读次数:
309