上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 39 下一页
摘要: deb http://mirror.switch.ch/ftp/ubuntu/ lucid main multiverse restricted universe deb http://mirror.switch.ch/ftp/ubuntu/ lucid-backports main multiverse restricted universe deb http://mirror.switch.c... 阅读全文
posted @ 2010-07-29 18:23 MagicLetters 阅读(809) 评论(0) 推荐(0) 编辑
摘要: 通常許多web資源是面向登錄用戶的,如果我們想利用程序自動獲取,則必須要通過程序登錄之後才能實現。java本身提供的標準庫也可以實現客戶端的登錄,但是卻不能自動管理服務器返回的cookie,必須手動管理。這個是十分麻煩和繁瑣的。幸好有APACHE 的 HTTPCLIENT,我們不必在擔心如何管理cookie。所以用hc登錄,獲取資源都是十分簡單和方便的。在這裡用一段源碼記錄如何使用hc等錄一個we... 阅读全文
posted @ 2010-07-29 10:54 MagicLetters 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1/*2*@(#)WebVistor.java3*4*CreatedonJul28,20105*6*Allrightsreserved.7*/8packagehttpclient;910importjava.io.BufferedReader;11importjava.io.FileWriter;12importjava.io.IOException;13importjava.io.InputSt... 阅读全文
posted @ 2010-07-28 20:27 MagicLetters 阅读(263) 评论(1) 推荐(0) 编辑
摘要: ThePatternLayout is by far the most widelyused log4j layout. It formats logging events according to aconversion pattern specified by the user. Conversion patterns arecomposed of literal text and conve... 阅读全文
posted @ 2010-07-28 18:50 MagicLetters 阅读(261) 评论(0) 推荐(0) 编辑
摘要: As default Ubuntu has no password set for the root user. To gain root access you have to type in your own user password. This is the password you set for the first user while installing Ubuntu.To manu... 阅读全文
posted @ 2010-07-25 14:17 MagicLetters 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 39 下一页