Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÍøÂçÅÀ³æ£¨Spider£©JavaʵÏÖÔ­Àí

“ÍøÂçÖ©Öë”»òÕß˵“ÍøÂçÅÀ³æ”£¬ÊÇÒ»ÖÖÄÜ·ÃÎÊÍøÕ¾²¢¸ú×ÙÁ´½ÓµÄ³ÌÐò£¬Í¨¹ýËü£¬¿É¿ìËٵػ­³öÒ»¸öÍøÕ¾Ëù°üº¬µÄÍøÒ³µØͼÐÅÏ¢¡£±¾ÎÄÖ÷Òª½²ÊöÈçºÎʹÓÃJava±à³ÌÀ´¹¹½¨Ò»¸ö“Ö©Ö딣¬ÎÒÃÇ»áÏÈÒÔÒ»¸ö¿É¸´ÓõÄÖ©ÖëÀà°ü×°Ò»¸ö»ù±¾µÄ“Ö©Ö딣¬²¢ÔÚʾÀý³ÌÐòÖÐÑÝʾÈçºÎ´´½¨Ò»¸öÌض¨µÄ“Ö©Öë”À´É¨ÃèÏà¹ØÍøÕ¾²¢ÕÒ³öËÀÁ´½Ó¡£
JavaÓïÑÔÔڴ˷dz£ÊʺϹ¹½¨Ò»¸ö“Ö©Ö딳ÌÐò£¬ÆäÄÚ½¨Á˶ÔHTTPЭÒéµÄÖ§³Ö£¬Í¨¹ýËü¿ÉÒÔ´«Êä´ó²¿·ÖµÄÍøÒ³ÐÅÏ¢£»Æ仹ÄÚ½¨ÁËÒ»¸öHTML½âÎöÆ÷£¬ÕýÊÇÕâÁ½¸öÔ­ÒòʹJavaÓïÑÔ³ÉΪ±¾ÎĹ¹½¨“Ö©Ö딳ÌÐòµÄÊ×Ñ¡¡£
ÎÄÕºóÃæÀý1µÄʾÀý³ÌÐò£¬½«»áɨÃèÒ»¸öÍøÕ¾£¬²¢Ñ°ÕÒËÀÁ´½Ó¡£Ê¹ÓÃÕâ¸ö³ÌÐòʱÐèÏÈÊäÈëÒ»¸öURL²¢µ¥»÷“Begin”°´Å¥£¬³ÌÐò¿ªÊ¼Ö®ºó£¬“Begin”°´Å¥»á±ä³É“Cancel”°´Å¥¡£ÔÚ³ÌÐòɨÃèÍøÕ¾Æڼ䣬»áÔÚ“Cancel”°´Å¥Ö®ÏÂÏÔʾ½ø¶È£¬ÇÒÔÚ¼ì²éµ±Ç°Íøҳʱ£¬Ò²»áÏÔʾÏà¹ØÕý³£Á´½ÓÓëËÀÁ´½ÓµÄÊýÄ¿£¬ËÀÁ´½Ó½«ÏÔʾÔÚ³ÌÐòµ×²¿µÄ¹ö¶¯Îı¾¿òÖС£µ¥»÷“Cancel”°´Å¥»áֹͣɨÃè¹ý³Ì£¬Ö®ºó¿ÉÒÔÊäÈëÒ»¸öеÄURL£»Èç¹ûÆÚ¼äûÓе¥»÷“Cancel”£¬³ÌÐò½«»áÒ»Ö±ÔËÐÐÖ±µ½²éÕÒÍêËùÓÐÍøÒ³£¬´Ëºó£¬“Cancel”°´Å¥»áÔٴαä»Ø“Begin”£¬±íʾ³ÌÐòÒÑÍ£Ö¹¡£
ÏÂÃ潫ÑÝʾʾÀý³ÌÐòÊÇÈçºÎÓë¿É¸´ÓÓSpider”Àཻ»¥µÄ£¬Ê¾Àý³ÌÐò°üº¬ÔÚÀý1µÄCheckLinksÀàÖУ¬Õâ¸öÀàʵÏÖÁËISpiderReportable½Ó¿Ú£¬ÈçÀý2Ëùʾ£¬ÕýÊÇͨ¹ýÕâ¸ö½Ó¿Ú£¬Ö©ÖëÀà²ÅÄÜÓëʾÀý³ÌÐòÏཻ»¥¡£ÔÚÕâ¸ö½Ó¿ÚÖУ¬¶¨ÒåÁËÈý¸ö·½·¨£ºµÚÒ»¸ö·½·¨ÊÇ“spiderFoundURL”£¬ËüÔÚÿ´Î³ÌÐò¶¨Î»Ò»¸öURLʱ±»µ÷Óã¬Èç¹û·½·¨·µ»Øtrue£¬±íʾ³ÌÐòÓ¦¼ÌÐøÖ´ÐÐÏÂÈ¥²¢ÕÒ³öÆäÖеÄÁ´½Ó£»µÚ¶þ¸ö·½·¨ÊÇ“spiderURLError”£¬ËüÔÚÿ´Î³ÌÐò¼ì²âURLµ¼Ö´íÎóʱ±»µ÷Óã¨Èç“404 Ò³ÃæδÕÒµ½”£©£»µÚÈý¸ö·½·¨ÊÇ“spiderFoundEMail”£¬ËüÔÚÿ´Î·¢ÏÖµç×ÓÓʼþµØַʱ±»µ÷Óá£ÓÐÁËÕâÈý¸ö·½·¨£¬SpiderÀà¾ÍÄÜ°ÑÏà¹ØÐÅÏ¢·´À¡¸ø´´½¨ËüµÄ³ÌÐòÁË¡£
ÔÚbegin·½·¨±»µ÷Óú󣬓֩Ö딾ͿªÊ¼¹¤×÷ÁË£»ÎªÔÊÐí³ÌÐòÖØ»æÆäÓû§½çÃ棬“Ö©Öë”ÊÇ×÷Ϊһ¸öµ¥¶ÀµÄÏß³ÌÆô¶¯µÄ¡£µã»÷“Begin”°´Å¥»á¿ªÊ¼Õâ¸öºǫ́Ị̈߳¬µ±ºǫ́Ïß³ÌÔËÐÐÖ®ºó£¬ÓÖ»áµ÷ÓÓCheckLinks”ÀàµÄrun·½·¨£¬¶ørun·½·¨ÊÇÓÉSpider¶ÔÏóʵÀý»¯Ê±Æô¶¯µÄ£¬ÈçÏÂËùʾ£º
s


Ïà¹ØÎĵµ£º

³ÉΪJava¸ßÊÖÐèҪעÒâµÄ25¸öѧϰĿ±ê

1.ÄãÐèÒª¾«Í¨ÃæÏò¶ÔÏó·ÖÎöÓëÉè¼Æ(OOA/OOD)¡¢É漰ģʽ(GOF£¬J2EEDP)ÒÔ¼°×ÛºÏģʽ¡£ÄãÓ¦¸ÃÁ˽âUML£¬ÓÈÆäÊÇclass£¬object£¬interactionÒÔ¼°statediagrams¡£
2.ÄãÐèҪѧϰJavaÓïÑԵĻù´¡ÖªÊ¶ÒÔ¼°ËüµÄºËÐÄÀà¿â(collections£¬serialization£¬streams£¬networking£¬?multithreading£¬reflection£¬event£¬handling£¬NIO£¬localiza ......

JAVA HEAP²é¿´¼òµ¥°ì·¨

×î½üÔÚ¿´JVMÓйض«Î÷£¬·¢ÏÖÒ»¸ö¼òµ¥ºÍfreeµÄHEAP DUMP²é¿´·½Ê½£¨»ùÓÚSUN JDK)
ÏÈʹÓÃ
jmap -dump:live,format=b,file=heap.bin  9381
ÆäÖÐ9381ΪJAVA ½ø³ÌPID
È»ºóÖ´ÐÐjhat heap.bin
´ýÏÔʾ
Snapshot resolved.
Started HTTP server on port 7000
Server is ready.
ÔÙʹÓÃWEB BROWER µÇ¼jhat ä¯ÀÀÆ÷¶Ë¿Ú¼´¿É ......

javaÖÐsynchronized¹Ø¼ü×ֵIJâÊÔ

  ×î½üÓÉÓÚ¸÷ÖÖÔ­ÒòÆÈʹ×Ô¼ºÐèÒªÏêϸÁ˽âjavaµÄ»ù±¾ÖªÊ¶£¬Ö®Ç°ÔÚѧУѧjava¶àÏ̵߳Äʱºò£¬ºÜ¶àºÜÖØÒªµÄ֪ʶµã¶¼ÊÇÒ»´ø¶ø¹ý¡£
  ÎÒÃÇÀ´»ØÒäÒ»ÏÂjavaÖÐsynchronized¹Ø¼ü×ÖµÄÓÃ;£¨Ò»ÏÂÄÚÈÝÊô¸öÈËÀí½â£¬»¶Ó­¶ÁÕßÐÞÕý£¡£©£º
  1£ºsynchronized ÐÞÊξ²Ì¬·½·¨Ê±ºò£¬ÔÚÈκÎʱºòjvm¶¼±£Ö¤Ö»ÓÐÒ»¸öÏ ......

javaÖÐAxis2Éú³É¿Í»§¶Ë·½Ê½

Axis2Éú³É¿Í»§¶Ë·½Ê½
»ùÓÚStockQuoteServiceÀà´´½¨¿Í»§¶ËµÄËÄÖÖ·½Ê½
¹¹½¨»ùÓÚAXIOMµÄ¿Í»§¶Ë£»
ʹÓÃAxis2 Databinding Frame work(ADB)Éú³É¿Í»§¶Ë£»
ʹÓÃXMLBeansÉú³É¿Í»§¶Ë£»
ʹÓÃJiBXÉú³É¿Í»§¶Ë¡£
ADB£º×î¼òµ¥µÄÉú³ÉAxis¿Í»§¶ËµÄ·½·¨¡£´ó²¿·ÖÇé¿öÏ£¬ÕâЩÖ÷ÒªµÄÀ඼»áÒÔÄÚ²¿ÀàµÄÐÎʽ´´½¨ÔÚstubÀàÖС£It is not meant ......

JAVAÖÐÓÃÓÚ´¦Àí×Ö·û´®µÄ¡°ÈýÐֵܡ±

JAVAÖÐÓÃÓÚ´¦Àí×Ö·û´®µÄ“ÈýÐֵܔ
JAVAÖÐÓÃÓÚ´¦Àí×Ö·û´®³£ÓõÄÓÐÈý¸öÀࣺjava.lang.String¡¢java.lang.StringBuffer¡¢java.lang.StringBuilder£¬ÕâÈýÕߵĹ²Í¬Ö®´¦¶¼ÊÇfinalÀ࣬²»ÔÊÐí±»¼Ì³Ð£¬ÕâÖ÷ÒªÊÇ´ÓÐÔÄܺͰ²È«ÐÔÉÏ¿¼Âǵģ¬ÒòΪÕ⼸¸öÀ඼ÊǾ­³£±»Ê¹ÓÃ×ŵģ¬ÇÒ¿¼Âǵ½·ÀÖ¹ÆäÖеIJÎÊý±»ÐÞ¸ÄÓ°Ïìµ½ÆäËüµÄÓ¦Óᣠ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ