Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2538497
  • 博文数量: 245
  • 博客积分: 4125
  • 博客等级: 上校
  • 技术积分: 3113
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-25 23:56
文章分类

全部博文(245)

文章存档

2015年(2)

2014年(26)

2013年(41)

2012年(40)

2011年(134)

2010年(2)

发布时间:2014-06-15 10:41:27

每个servlet只有一个实例,怎样保证servlet是线程安全(thread-safe)的?servlet容器启动过程:1.reads web.xml;2.finds the declared Servlets in the classpath; and3. loads and instantiates each Servlet only once.对该过程的代码描述:String urlPattern = parseWebXmlAndRetrieveServletUrlPattern().........【阅读全文】

阅读(3423) | 评论(0) | 转发(0)

发布时间:2014-05-26 18:45:19

http://stackoverflow.com/questions/2216007/eclipse-java-ee-pluginI warmly suggest to install Eclipse IDE for Java EE developers which already includes the Web Tools Platform (WTP) and much more (see this page for a full comparison).As an alternative, y.........【阅读全文】

阅读(1581) | 评论(0) | 转发(0)

发布时间:2014-05-23 18:39:05

Secure hash functions in Java (ctd)From http://www.javamex.com/tutorials/cryptography/hash_functions_algorithms.shtmlNow we've seen an introduction to hash functions, let's look at how to compute a hash in Java. As mentioned, secure hashes are sometimes calledmessage digests. And.........【阅读全文】

阅读(1600) | 评论(0) | 转发(0)

发布时间:2014-05-22 19:48:31

参考: http://stackoverflow.com/questions/1019116/using-ls-to-list-directories-and-their-total-sizesroot@server4:/data# lsacs-provider apkftp app_resource bakup base-provider-0.0.1-SNAPSHOT Collector log4j.xml user-providerroot@server4:/data# du -sk.........【阅读全文】

阅读(1664) | 评论(0) | 转发(0)

发布时间:2014-05-22 14:14:56

使用ps a查看进程使用kill干掉进程root@server9:/data/Collector# nohup sh startDownloadMain.sh &[1] 9065root@server9:/data/Collector# -bash: root@server9:/data/Collector#: No such file or directory[1] 9044root@server9:/data/Collector# nohup: ignoring .........【阅读全文】

阅读(1192) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

甜心1832013-07-24 18:45

大牛级人物,膜拜

回复  |  举报

ansnq8572013-04-03 13:12

好好学习,天天向上

回复  |  举报

大鬼不动2010-08-09 00:57

回复  |  举报
留言热议
请登录后留言。

登录 注册