`
sole
  • 浏览: 139602 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
两个问题            a. 如何知道一个url是新浪论坛的帖子页            b. 如何提取这些页面的发帖时间       分析:            新浪论坛的帖子页url实例:             http://bbs.2008.sina.com.cn/tableforum/App/view.php?bbsid=274&subid=0&fid=32614&tbid=2351            http://bbs.book.sina.com.cn/tableforum/App/view.php?bbsid=7&subid ...
Many Java™ language methods, such as Thread.sleep() and Object.wait(), throw InterruptedException. You can't ignore it because it's a checked exception, but what should you do with it? In this month's Java theory and practice, concurrency expert Brian Goetz explains what InterruptedException means, w ...
Java Swing本身没有提供好的html显示组件,而且也不能像SWT那样嵌入本地浏览器。 但有很多的项目是试着去解决这个问题:   The List ProductLicenseFeaturesFailings HTMLEditorKit built in this is built into swing, so it requires no download, it has support for embedded swing components doesn't handle recent html or css2 ICEBrowser commercial a ...
总结一些找到的嵌入浏览器:  WebRenderer   对IE和Mozilla内核的Java封装,API调用十分方便。可惜收费; JRex Mozilla 开源 似乎已经停止更新维护了 WebClient Mozilla 开源 SWT browser widget IE and Mozilla 开源 mozswing Mozilla 开源 JExplorer IE 收费 watij IE ,内核利用JExporler,经过JExlorer的授权,免费开源 Lobo Browser 纯java浏览器,Rhino js引擎, Cobra rendering engine都死纯java写的。对js ...
转载地址: http://www.searcher.org.cn/search/20071004/263.html   偶然碰到这篇文章,谈及的话题<开源框架带来的烦恼>与我正在考虑写的OSGi的产生背景不谋而合。转帖过来,供读者参考。 1、空前繁荣的开源世界  大致2000年以前,Jav ...
 Cookie由变量名和值组成,类似Javascript变量。其属性里既有标准的Cookie变量,也有用户自己创建的变量,属性中变量是用“变量=值”形式来保存。  根据Netscape公司的规定,Cookie格式如下:  Set-Cookie: NAME=VALUE;Expires=DATE; ...
    HTTP的头域包括通用头,请求头,响应头和实体头四个部分。每个头域由一个域名,冒号(:)和域值三部分组成。域名是大小写无关的,域值前可以添加任何数量的空格符,头域可以被扩展为多行,在每行开始处,使用至少一个空格或制表符   通用头域 通用头域包含请求和响应消息都支持的头域,通用头域包含Cache-Control、 Connection、Date、Pragma、Transfer-Encoding、Upgrade、Via。对通用头域的扩展要求通讯双方都支持此扩展,如果存在不支持的通用头域,一般将会作为实体头域处理。下面简单介绍几个在UPnP消息中使用的通用头域。 Cache-Contro ...
COOKIECOOKIE是大家都非常熟悉的了,通过它可以在客户端保存用户状态,即使用户关闭浏览器也能继续保存。那么客户端与服务器端是如何交换COOKIE信息的呢?没错,也是通过HTTP消息头。首先写一个简单的ASP网页:<%Dim ii =  Requ ...
一个WEB站点每天可能要接收到上百万的用户请求,为了提高系统的效率,HTTP 1.0规定浏览器与服务器只保持短暂的连接,浏览器的每次请求都需要与服务器建立一个TCP连接,服务器完成请求处理后立即断开TCP连接,服务器不跟踪每个客户也不记录过去的请求。但是,这也造成了一些性能上的缺陷,例如,一个包含有许多图像的网页文件中并没有包含真正的图像数据内容,而只是指明了这些图像的URL地址,当WEB浏览器访问这个网页文件时,浏览器首先要发出针对该网页文件的请求,当浏览器解析WEB服务器返回的该网页文档中的HTML内容时,发现其中的<img>图像标签后,浏览器将根据
官方RFC2616文档: http://www.w3.org/Protocols/rfc2616/rfc2616.html   Network Working Group(网络工作组)                             R. FieldingRequest for Comments: 2616                                   UC IrvineObsoletes(过时 ...
发现一个抓取动态网页的好东东:    Watij (pronounced wattage) stands for Web Application Testing in Java. Watij is a pure Java API created to allow for the automation of web applications. Based on the simplicity of Watir and enhanced by the power of Java, Watij automates functional testing of web applications thro ...
暂未翻译,链接主页http://commons.apache.org/cli/ describe some example scenarios on how to use CLI in applications. Using a boolean option A boolean option is represented on a command line by the presence of the option, i.e. if the option is found then the option value is true, otherwise the value is false. ...
ThreadLocal是什么 早在JDK 1.2的版本中就提供java.lang.ThreadLocal,ThreadLocal为解决多线程程序的并发问题提供了一种新的思路。使用这个工具类可以很简洁地编写出优美的多线程程序。 ThreadLocal很容易让人望文生义,想当然地认为是 ...
Re: [archive-crawler] Extend QueueAssignmentPolicy Mr.Mohr,   From your response,NicknameQueueAssignmentPolicy will be problematic, And I understand why the download speed initially-fast and then very-slow. Your suggestion is the same host should in a queue.   But my question is if there are 20 th ...
only for test
Global site tag (gtag.js) - Google Analytics