2010年7月28日

               摘要: Read on to see how to add Subversion support to Eclipse and how to perform basic version-control activities from the IDE.  閱讀全文

          posted @ 2010-08-01 15:57 祝嘉 閱讀(376) | 評(píng)論 (0)編輯 收藏

               摘要: 通常許多web資源是面向登錄用戶的,如果我們想利用程序自動(dòng)獲取,則必須要通過(guò)程序登錄之後才能實(shí)現(xiàn)。java本身提供的標(biāo)準(zhǔn)庫(kù)也可以實(shí)現(xiàn)客戶端的登錄,但是卻不能自動(dòng)管理服務(wù)器返回的cookie,必須手動(dòng)管理。這個(gè)是十分麻煩和繁瑣的。幸好有APACHE 的 HTTPCLIENT,我們不必在擔(dān)心如何管理cookie。所以用hc登錄,獲取資源都是十分簡(jiǎn)單和方便的。在這裡用一段源碼記錄如何使用hc等錄一個(gè)website,以及如何通過(guò)代理登錄和通過(guò)代理訪問(wèn)頁(yè)面。  閱讀全文

          posted @ 2010-07-29 10:54 祝嘉 閱讀(448) | 評(píng)論 (0)編輯 收藏

               摘要: 使用Apache的HTTPCLIENT獲取網(wǎng)頁(yè)的內(nèi)容  閱讀全文

          posted @ 2010-07-28 20:27 祝嘉 閱讀(328) | 評(píng)論 (0)編輯 收藏

               摘要: The PatternLayout is by far the most widely used log4j layout. It formats logging events according to a conversion pattern specified by the user. Conversion patterns are composed of literal text and conversion specifiers. Literal text is output as is. Conversion specifiers consist of the % character followed by an optional format modifier and a mandatory conversion character. For example, %-5p [%t]: %m%n is a conversion pattern composed of a priority (a.k.a. level) conversion specifier followed   閱讀全文

          posted @ 2010-07-28 18:50 祝嘉 閱讀(554) | 評(píng)論 (0)編輯 收藏

          主站蜘蛛池模板: 东乌珠穆沁旗| 安化县| 古浪县| 九江县| 铜山县| 濮阳县| 建宁县| 新邵县| 定结县| 科技| 新余市| 临邑县| 临江市| 东台市| 桐庐县| 广平县| 绥棱县| 西贡区| 扶风县| 武城县| 宜丰县| 海淀区| 贞丰县| 微山县| 盘山县| 丹凤县| 怀集县| 正蓝旗| 伊宁县| 汝城县| 南投市| 常宁市| 左权县| 丽江市| 西华县| 开江县| 临猗县| 锡林郭勒盟| 波密县| 文化| 丁青县|