锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲天堂一区在线,精品亚洲AV无码一区二区,亚洲天堂男人天堂http://www.tkk7.com/gooogle/category/20962.html <a >3G瑙嗙嚎璁哄潧</a>zh-cnTue, 18 Sep 2007 03:02:53 GMTTue, 18 Sep 2007 03:02:53 GMT60JDK 6.0 API 涓枃鐗?鍙戝竷浜?/title><link>http://www.tkk7.com/gooogle/archive/2007/09/18/146097.html</link><dc:creator>鐖櫕宸ヤ綔瀹?/dc:creator><author>鐖櫕宸ヤ綔瀹?/author><pubDate>Tue, 18 Sep 2007 02:56:00 GMT</pubDate><guid>http://www.tkk7.com/gooogle/archive/2007/09/18/146097.html</guid><wfw:comment>http://www.tkk7.com/gooogle/comments/146097.html</wfw:comment><comments>http://www.tkk7.com/gooogle/archive/2007/09/18/146097.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/gooogle/comments/commentRss/146097.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/gooogle/services/trackbacks/146097.html</trackback:ping><description><![CDATA[<h2>JDK 6.0 API 涓枃鐗?/h2> <div class="uhavmeu" id="postmessage_179" class="t_msgfont"><a target="_blank" class="l2">HTML ZIP鎵撳寘<span onclick="tagshow(event)" class="t_tag">涓嬭澆</span></a><br /> » <a target="_blank" class="l2">CHM 鏍煎紡涓嬭澆</a><br /> » <a target="_blank" class="l2">鍦ㄧ嚎鍙傝?/a><br /> » <a target="_blank" class="l2">JDK 5.0 涓枃<span onclick="tagshow(event)" class="t_tag">API</span></a><br /> <br /> 鏉ヨ嚜:http://developers.sun.com.cn/home/sdnchina/home</div><img src ="http://www.tkk7.com/gooogle/aggbug/146097.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/gooogle/" target="_blank">鐖櫕宸ヤ綔瀹?/a> 2007-09-18 10:56 <a href="http://www.tkk7.com/gooogle/archive/2007/09/18/146097.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬緗戠珯璁捐鐨勪竴鐐圭偣璁ㄨhttp://www.tkk7.com/gooogle/archive/2007/05/19/118610.html鐖櫕宸ヤ綔瀹?/dc:creator>鐖櫕宸ヤ綔瀹?/author>Sat, 19 May 2007 15:48:00 GMThttp://www.tkk7.com/gooogle/archive/2007/05/19/118610.htmlhttp://www.tkk7.com/gooogle/comments/118610.htmlhttp://www.tkk7.com/gooogle/archive/2007/05/19/118610.html#Feedback4http://www.tkk7.com/gooogle/comments/commentRss/118610.htmlhttp://www.tkk7.com/gooogle/services/trackbacks/118610.html
棣栧厛鏄庣‘浜?jiǎn)闇瑕侊紝榪欎釜鎴戞兂鏄璁″ソ涓涓」鐩殑鍏抽敭銆?br> 姣斿鎴戜滑鍋囧儚闇姹傛槸榪欐牱瀛愮殑錛屾垜浠啀鏉ヨ皥璋堬紝闈㈠榪欐牱鐨勯渶姹傦紝鎴戜滑璇ユ庝箞鍋氥?br> 闇姹傚涓嬶細(xì)
1銆備細(xì)鍛橀棶棰橈紝--- 瑕佹眰緗戠珯鐨勪竴浜涘姛鑳藉彧鎻愪緵緇欎細(xì)鍛樻搷浣滐紝 姣斿褰撶敤鎴鋒祻瑙堜竴涓猆RL鐨勬椂鍊欙紝鏄渶瑕佷細(xì)鍛樻潈闄愮殑錛岃繖鏍峰氨浜х敓浜?jiǎn)涓嬮潰鐨勯渶姹傦紝1銆傝姹傛湁鑷姩璺寵漿鍔熻兘錛屼笉綆℃槸鐢ㄦ埛鐧誨綍浜?jiǎn)锛屾垨鑰呮槸娉ㄥ唽涓涓柊鐢ㄦ埛錛岃繖浜涙搷 浣滃畬鎴愬悗閮介渶瑕佽煩杞埌鍓嶄竴嬈$殑鎿嶄綔銆傜敋鑷蟲槸璺熷墠闈㈢殑鎿嶄綔銆傝繖涓姛鑳藉埌鏄鏄撳疄鐜幫紝鍙渶瑕佽褰曠敤鎴峰墠闈㈠嚑嬈℃搷浣滅殑url錛屾妸浠栦滑鍏ユ爤灝眔k浜?jiǎn)锛岀劧鍚庣櫿d綍鎴栬? 娉ㄥ唽浠ュ悗灝卞嚭鏍?br> 2銆傝祫婧愪繚瀛橀棶棰橈紝 ---- 姣斿欏圭洰緇勶紝瑕佹眰錛岀敤鎴蜂笂浼狅紝鎴栬呮槸鍚庡彴涓婁紶鐨勮祫婧愶紝蹇呴』淇濊瘉鍏朵粬欏圭洰瀹夊叏鐨勶紝瀹規(guī)槗鎿嶄綔鐨勮闂埌銆?br> 姣斿錛岀鐞嗕漢鍛樺湪鍚庡彴涓婁紶浜?jiǎn)涓涓浘鐗囥傝繖涓浘鐗囧浜巜eb鏉ヨ鍙互璁塊棶錛屽浜巜ap鏉ヨ錛岃闂搗鏉ヤ篃鏄緢杞繪澗鐨?- 涓嶇敤鍦ㄨ祫婧愮殑璺緞鍔犱笂緗戠珯鐨勮礬寰勫悕銆傝繕鏈夊叾浠栫殑絳夌瓑銆?br> 3銆傛暟鎹簱鐨勮璁★紝 --- 鑷繁榪愯惀鐨勭綉绔欙紝瀵逛簬鏁版嵁搴撶殑瀹夊叏鎬ф潵璇存棤鐤戞槸鏈楂樼殑銆? 鎴戜滑鐜板湪閲囩敤鐨勬槸mysql錛岀幇鍦ㄧ敤鐨勬槸tomcat+spring+hibernate錛岃繖鏍峰氨浼?xì)閬囧堫C竴涓洶闅撅紝姣斿璁捐閲戦挶鐨勬暟鎹紝濡傛灉綰補(bǔ)鐨勪繚瀛樺埌 mysql錛岃繖鏍峰埆浜轟鏡鍏ュ埌浣爓eb鏈嶅姟鍣ㄧ殑鏃跺欏氨鍙互鑾峰彇浣爏pring閰嶇疆鏂囦歡閲岄潰鐨勬暟鎹瘑鐮佺瓑錛岃繖鏍蜂細(xì)閫犳垚鏁版嵁娉勯湶錛屽鑷撮噸澶ф崯澶憋紝榪欐牱瀵艱嚧浜?jiǎn)灏辨? 綆$悊榪欎簺鏁版嵁鐨勫畨鍏ㄦу彉鐨勫緢閲嶈錛屼笉搴旇鐩存帴鏆撮湶榪欎簺鏁版嵁緇欑▼搴忥紝鑰屾槸搴旇閫氳繃涓浜涙墜孌碉紝姣斿鍙毚闇插瓨鍌ㄨ繃紼嬶紝鎴栬呮槸鏆撮湶涓浜涙暟鎹闂產(chǎn)pi緇欑▼搴忚皟鐢紝 榪欏仛铏界劧瀹夊叏錛屼絾璁捐璧鋒潵鍗存槸姣旇緝媯樻墜銆傝屼笖璁捐綆$悊閭d簺鏁版嵁鐨勭▼搴忓彉鐨勫鏉傦紝涓嶈兘鐩存帴鍦╰omcat璁塊棶銆?br>
4銆傚氨鏄浉瀵硅屽凡錛屽綋浣犵殑紼嬪簭紼沖畾浠ュ悗錛屾垜浠氨涓嶅簲璇ュ啀寰榪欎釜欏圭洰鍔犱笂鏂板姛鑳斤紝鑰屾槸鍙﹀璧蜂竴涓」鐩紝鎬諱箣灝辨槸涔卞晩銆?br>

鍐欏埌榪欓噷錛岄兘涓嶇煡閬撹嚜宸卞湪鍐欎簺浠涔堜簡(jiǎn)銆傚搱

鍐欒繖綃囨枃绔犵殑鏃跺欙紝璁板綍鍦╞log涓婂嚭浜?jiǎn)闂锛屽悗鏉ラ偅绡嘼log琚垜鍒犻櫎浜?jiǎn)锛屾兂涓嶅埌鍦q欓噷鍙互鎵懼埌銆傜湡鏄笉閿欙紝鍚屾椂鏀懼埌璁哄潧璺焍log濂藉儚鏄弻淇濋櫓


]]>
緇欎笂浼犲浘鐗囧姞涓浘鐗囨按鍗幫紝鏂囧瓧姘村嵃鐨勫姛鑳?/title><link>http://www.tkk7.com/gooogle/archive/2007/05/16/117839.html</link><dc:creator>鐖櫕宸ヤ綔瀹?/dc:creator><author>鐖櫕宸ヤ綔瀹?/author><pubDate>Wed, 16 May 2007 06:47:00 GMT</pubDate><guid>http://www.tkk7.com/gooogle/archive/2007/05/16/117839.html</guid><wfw:comment>http://www.tkk7.com/gooogle/comments/117839.html</wfw:comment><comments>http://www.tkk7.com/gooogle/archive/2007/05/16/117839.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/gooogle/comments/commentRss/117839.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/gooogle/services/trackbacks/117839.html</trackback:ping><description><![CDATA[     鎽樿: 鍏抽敭瀛? 浼佷笟搴旂敤             浠婂ぉ瀹㈡埛璇達(dá)紝浠栨兂鎶婁粬涓婁紶鐨勫浘鐗囧姞涓婁釜姘村嵃鐨勫姛鑳斤紝浠ラ槻姝㈠埆浜虹洍鐢ㄤ粬鐨勫浘鐗囥備粬璁や負(fù)浠栫殑鍥劇墖璧勬枡寰堥噸瑕併傛墍浠ャ傘傘?濂斤紝瀹㈡埛鏈夐渶姹傦紝鎴戜滑灝辨弧瓚充粬錛屼互鍓嶆垜涔熸瘮杈冨皯鍐欐搷浣滃浘鐗囩殑api錛屾墍浠ュ鍥劇墖鍔犳按鍗扮殑鍔熻兘涔熶竴鐩存病鎺ヨЕ錛屼笉榪囧浜庣幇鍦ㄧ綉緇滄潵璇淬傝繖...  <a href='http://www.tkk7.com/gooogle/archive/2007/05/16/117839.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/gooogle/aggbug/117839.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/gooogle/" target="_blank">鐖櫕宸ヤ綔瀹?/a> 2007-05-16 14:47 <a href="http://www.tkk7.com/gooogle/archive/2007/05/16/117839.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬鏂伴椈鍙戝竷緋葷粺錛屼晶鏍忥紝涓庡簳鏍忕殑璁捐鏋勬兂http://www.tkk7.com/gooogle/archive/2007/04/30/114700.html鐖櫕宸ヤ綔瀹?/dc:creator>鐖櫕宸ヤ綔瀹?/author>Mon, 30 Apr 2007 01:16:00 GMThttp://www.tkk7.com/gooogle/archive/2007/04/30/114700.htmlhttp://www.tkk7.com/gooogle/comments/114700.htmlhttp://www.tkk7.com/gooogle/archive/2007/04/30/114700.html#Feedback2http://www.tkk7.com/gooogle/comments/commentRss/114700.htmlhttp://www.tkk7.com/gooogle/services/trackbacks/114700.html




榪欏嚑澶╀篃蹇欑潃寮鍙戣繖鏍風(fēng)殑緋葷粺銆傛浘緇忔兂榪囷紝鐩存帴鐢熸垚涓涓叏閮ㄩ潤鎬佺殑html銆傚悗鏉ュ彂鐜幫紝榪欐牱鍋氫笉鍙銆?br>鍘熷洜錛?br>1.鏍規(guī)嵁涓婇潰鐨勫浘鐗囷紝鎴戜滑鍙互鐭ラ亾涓涓ā鍧楀簲璇ュ敖閲忎繚鎸佺畝鍗曠嫭绔嬨傜浉瀵逛簬渚ф爮涓庡簳鏍忚岃█錛岃窡鏂伴椈鍐呭鍙互璇存槸闈犱笉涓婅竟鐨勶紝鎴栬涔熸槸闈犵殑寰堝皯銆?br>2.鐩稿鏂伴椈鍐呭鏉ヨ銆備晶鏍忥紝搴曟爮鐩浉瀵規(guī)潵璇存槸鍔ㄦ佺殑錛屼篃灝辨槸闇瑕佸悗鍙板幓澶勭悊銆傝屽墠鍙板睍紺虹殑灝嗘槸鍔ㄦ佸睍紺猴紝榪欐牱鎰忓懗鐫錛屽墠鍙版枃浠朵笉鑳藉叏閮ㄥ寘鍚潤鎬乭tml銆?br>3.鐩稿寮鍙戣岃█銆傚簲璇ュ敖閲忎繚鎸佺畝鍗曪紝涔熷氨鏄錛屼綘鍙戜笉鏂伴椈鍛€傚彧鍙戝竷鏂伴椈鍐呭灝卞彲浠ヤ簡(jiǎn)銆傚叾浠栫殑涓滆タ鍒欐湁鍏朵粬妯″潡鏉ュ仛銆傝繖鏍峰仛鐨勫ソ鍚冩槸錛屼慨鏀癸紝閲嶆瀯璧鋒潵灝嗘槸浠跺緢鎰夊揩鐨勪簨鎯呫?br>
緇忚繃鎬濊冭窡鍚屼簨鐨勬剰瑙併傚喅瀹氶噰鐢╦s鐨勫艦寮忔潵鍋氥俲s璐熻矗杈撳嚭閭d簺html銆傝宩s鐨勭敓鎴愬垯鐢卞悗鍙板幓澶勭悊銆傝繖鏍峰ぇ瀹剁殑鑱岃矗灝辨槑鏄懼浜?jiǎn)銆?br>鑷充簬鍓嶅彴灞曠ず鍚椼傞偅涔熺畝鍗曞緢澶氾紝鐩存帴寮曠敤榪欎釜js灝眔k銆?br>灝卞Ioc鎵璇淬備綘涓嶈鏉ユ壘鎴戙傝鎴戝幓鎵句綘灝辮浜?jiǎn)銆?br>
澶у涔熷彲浠ョ晠璋堣嚜宸卞湪寮鍙戣繖鏍風(fēng)郴緇熺殑鎯蟲硶銆?br>

 

]]>
瑙e喅HIbernate鍒嗛〉闂鑾峰彇琛ㄦ昏鏁扮殑灝廈ughttp://www.tkk7.com/gooogle/archive/2007/04/30/114688.html鐖櫕宸ヤ綔瀹?/dc:creator>鐖櫕宸ヤ綔瀹?/author>Mon, 30 Apr 2007 00:46:00 GMThttp://www.tkk7.com/gooogle/archive/2007/04/30/114688.htmlhttp://www.tkk7.com/gooogle/comments/114688.htmlhttp://www.tkk7.com/gooogle/archive/2007/04/30/114688.html#Feedback0http://www.tkk7.com/gooogle/comments/commentRss/114688.htmlhttp://www.tkk7.com/gooogle/services/trackbacks/114688.html浣嗗悓鏃跺湪鍒楀嚭鐩稿叧鏂伴椈鐨勬椂鍊欓亣鍒頒簡(jiǎn)楹葷儲(chǔ)銆傚氨鏄師鏈繍琛屽ソ濂界殑鍒嗛〉鏌ヨ浠g爜錛屽眳鐒舵湁涓皬铏瓙璺戝嚭鏉ワ紝
寰堟槸浠や漢涓嶇埥銆傝鏉ヤ篃鎯劎錛孒ibernate涔熺敤浜?jiǎn)閭d箞闀挎棄櫁翠簡(jiǎn)銆傚彲瀵瑰簳灞侫PI鍗村緢涓嶅睘鎬с?br>鏌ヤ簡(jiǎn)涓嬬綉緇滐紝鎶婅嚜宸辯殑涓鐭ュ崐瑙h鍑烘潵銆?br>
bug璧鋒簮銆?br>鐪嬬湅浠g爜錛?br>
return (PageSupport) getHibernateTemplate().execute(
                new HibernateCallback() ...{
                    public Object doInHibernate(Session session)
                            throws HibernateException ...{
                        Criteria criteria = detachedCriteria
                                .getExecutableCriteria(session);
                     
                        
                        logger.debug("SQL: " + Projections.rowCount());
                        
                        
                         
                        //鎵ц鏌ヨ
                        int totalCount = ((Integer) criteria.setProjection(Projections.rowCount()).uniqueResult()).intValue();

                     
                     
                        
                        
                        List items = criteria.setFirstResult(startIndex)
                        .setMaxResults(pageSize).list();
                
                        PageSupport ps = new PageSupport(items, totalCount,
                                pageSize, startIndex);
                        
                        return ps;
                    }
                }, true);

鐩鎬俊澶у瀵逛笂闈㈢殑浠g爜涔熷緢鐔熸?zhèn)変簡(jiǎn)锛寴q欎釜浠g爜絎竴嬈¤繍琛岀殑鏃跺欐病闂銆?br>絳変綘鍘繪嬁絎?欏電殑鏃跺欙紝灝辨彁紺鴻鍑虹幇NullPointer銆?鍙戠幇鏄?(Integer) criteria.setProjection(Projections.rowCount()).uniqueResult())涓篘ull錛?涔熷氨鏄牴鏈氨鎷夸笉鍒拌〃鎬繪暟銆?br>涓烘鎴戞濊冧簡(jiǎn)濂戒竴闃靛瓙銆?br>鍚庢潵鐪嬩簡(jiǎn)鍒漢鐨勪唬鐮佹墠鐒曠劧澶ф?zhèn)熴?br>鐪嬬2涓唬鐮侊細(xì)
return (PageSupport) getHibernateTemplate().execute(
                new HibernateCallback() ...{
                    public Object doInHibernate(Session session)
                            throws HibernateException ...{
                        Criteria criteria = detachedCriteria
                                .getExecutableCriteria(session);
                        
                        CriteriaImpl impl = (CriteriaImpl) criteria;

                        //鍏堟妸Projection鍜孫rderBy鏉′歡鍙栧嚭鏉?娓呯┖涓よ呮潵鎵цCount鎿嶄綔
                        Projection projection = impl.getProjection();
                        
                        logger.debug("SQL: " + Projections.rowCount());
                        
                        
                         
                        //鎵ц鏌ヨ
                        int totalCount = ((Integer) criteria.setProjection(Projections.rowCount()).uniqueResult()).intValue();

                        //灝嗕箣鍓嶇殑Projection鍜孫rderBy鏉′歡閲嶆柊璁懼洖鍘?br>                        criteria.setProjection(projection);
                        if (projection == null) ...{
                            criteria.setResultTransformer(CriteriaSpecification.ROOT_ENTITY);
                        }
                     
                        
                        
                        List items = criteria.setFirstResult(startIndex)
                        .setMaxResults(pageSize).list();
                
                        PageSupport ps = new PageSupport(items, totalCount,
                                pageSize, startIndex);
                        
                        return ps;
                    }
                }, true);



]]>
瑙掕壊鐨勮漿鍙? http://www.tkk7.com/gooogle/archive/2007/04/12/110067.html鐖櫕宸ヤ綔瀹?/dc:creator>鐖櫕宸ヤ綔瀹?/author>Thu, 12 Apr 2007 01:22:00 GMThttp://www.tkk7.com/gooogle/archive/2007/04/12/110067.htmlhttp://www.tkk7.com/gooogle/comments/110067.htmlhttp://www.tkk7.com/gooogle/archive/2007/04/12/110067.html#Feedback9http://www.tkk7.com/gooogle/comments/commentRss/110067.htmlhttp://www.tkk7.com/gooogle/services/trackbacks/110067.html
璇村疄璇濇妸榪欎箞澶х殑鎷呭瓙緇欐垜錛屾垜鍘嬪姏澶у晩銆傛垜鐩鎬俊鍦ㄨ繖涓鍧涚殑寰堝鐗涗漢閮芥湁鏇捐繖鏍風(fēng)殑緇忓巻錛屽彲鍚︾粰鎴戜竴浜涘緩璁晩銆?br>
浠庝竴涓紪鐮佽璁″埌涓涓灦鏋勮璁$殑杞彉闇瑕佺粡榪囦簺浠涔堝巻緇冦傞珮鎵嬩滑錛岀牳鐮栧惂銆俕_^


]]>
鑷姩娉ㄥ唽gmail閭鏋勬兂http://www.tkk7.com/gooogle/archive/2007/04/04/108408.html鐖櫕宸ヤ綔瀹?/dc:creator>鐖櫕宸ヤ綔瀹?/author>Wed, 04 Apr 2007 04:42:00 GMThttp://www.tkk7.com/gooogle/archive/2007/04/04/108408.htmlhttp://www.tkk7.com/gooogle/comments/108408.htmlhttp://www.tkk7.com/gooogle/archive/2007/04/04/108408.html#Feedback6http://www.tkk7.com/gooogle/comments/commentRss/108408.htmlhttp://www.tkk7.com/gooogle/services/trackbacks/108408.html闃呰鍏ㄦ枃

]]>
褰誨簳鐞嗚Вspring鐨勫畾鍒朵換鍔★紙scheduling錛?/title><link>http://www.tkk7.com/gooogle/archive/2007/04/01/107758.html</link><dc:creator>鐖櫕宸ヤ綔瀹?/dc:creator><author>鐖櫕宸ヤ綔瀹?/author><pubDate>Sun, 01 Apr 2007 07:04:00 GMT</pubDate><guid>http://www.tkk7.com/gooogle/archive/2007/04/01/107758.html</guid><wfw:comment>http://www.tkk7.com/gooogle/comments/107758.html</wfw:comment><comments>http://www.tkk7.com/gooogle/archive/2007/04/01/107758.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/gooogle/comments/commentRss/107758.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/gooogle/services/trackbacks/107758.html</trackback:ping><description><![CDATA[     鎽樿: 鍏抽敭瀛? 浼佷笟搴旂敤 聽 聽聽聽聽 聽聽 鐩鎬俊鍋氳蔣浠剁殑鏈嬪弸閮芥湁榪欐牱鐨勭粡鍘嗭紝鎴戠殑杞歡鏄笉鏄皯浜?jiǎn)鐐逛粈涔堜笢瑗垮憿錛熸瘮濡傚畾鏃朵換鍔″晩錛? 聽聽 灝辨嬁鏂伴椈鍙戝竷緋葷粺鏉ヨ錛屽鏋滄柊闂葷殑鏁版嵁鏇存柊澶揩錛屽娍蹇呮秹鍙?qiáng)涓涓棶棰橈紝榪欎簺鏂伴椈涓嶈兘鐢變漢宸ョ殑鍘誨彂甯冿紝搴旇璁╃郴緇熻嚜宸卞彂甯冿紝榪欏氨闇瑕佺敤鍒板畾鏃跺畾鍒朵換鍔′簡(jiǎn)錛屼互鍓?瀹氬埗浠誨姟鏃犻潪灝辨槸璁捐涓涓猅hread錛屽茍涓旇緗繍琛屾椂闂寸墖錛岃瀹冨埌浜?jiǎn)閭d釜鏃堕棿鎵ц?..  <a href='http://www.tkk7.com/gooogle/archive/2007/04/01/107758.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/gooogle/aggbug/107758.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/gooogle/" target="_blank">鐖櫕宸ヤ綔瀹?/a> 2007-04-01 15:04 <a href="http://www.tkk7.com/gooogle/archive/2007/04/01/107758.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title> 涓涓鍙朑mail閭歡鐨勭畝鍗曠▼搴?/title><link>http://www.tkk7.com/gooogle/archive/2007/03/30/107474.html</link><dc:creator>鐖櫕宸ヤ綔瀹?/dc:creator><author>鐖櫕宸ヤ綔瀹?/author><pubDate>Fri, 30 Mar 2007 06:36:00 GMT</pubDate><guid>http://www.tkk7.com/gooogle/archive/2007/03/30/107474.html</guid><wfw:comment>http://www.tkk7.com/gooogle/comments/107474.html</wfw:comment><comments>http://www.tkk7.com/gooogle/archive/2007/03/30/107474.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.tkk7.com/gooogle/comments/commentRss/107474.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/gooogle/services/trackbacks/107474.html</trackback:ping><description><![CDATA[<div style="margin-left: 15px; margin-top: 5px;"> <b>鍏抽敭瀛?</b> 浼佷笟搴旂敤 聽 聽聽聽聽 </div> 聽聽聽聽聽 鍏勫紵鎴戠悊璁烘х殑涓滆タ璇翠笉鍑烘潵錛屼笉榪囧疄闄呰繍鐢ㄥ挶榪樻槸鏈夊姙娉曠殑<br /> 鍓嶅嚑澶╃敱浜庡伐浣滈渶瑕侊紝鎯充簡(jiǎn)瑙d笅鍏充簬鏀寔ssl鐨勯偖浠舵敹鍙戯紝鎸夌収浠ュ墠鏅氱殑鍋氭硶鏄涓嶉氱殑錛屾墍浠ュ氨涓婄綉涓滄壘鎵撅紝瑗跨灖鐬с傚彂鐜頒簡(jiǎn)涓ソ涓滆タ錛屽茍涓斿疄楠屾垚鍔熴?<br /> 聽聽聽聽聽 閭eぉ鏈兂鏉avaeye鐪嬬湅鏈夋病鏈変漢鏈夌浉鍏崇殑緇忛獙錛屾壘浜?jiǎn)鑰佸崐澶╋紝榪炰釜灞佷篃娌¢椈鍒幫紝鎴戝氨璇存垜浠紝鎴戜滑榪欎簺鍋氱▼搴忓憳鐨勪笉鑳借佹槸鍚瑰惞姘達(dá)紝璋堣皥閬撶悊錛屾垜浠緱鎷垮嚭鐐瑰疄闄呯殑涓滆タ鍑烘潵錛屽氨鎯砯ins涓鏍鳳紝鎴戝氨寰堜僵鏈嶄粬鐨勮礎(chǔ)鐚簿紲炪?br /> 聽聽聽聽聽 涓嶈搴熻瘽浜?jiǎn)锛岀湅鐪嬫簮浠g爜锛屽ぇ瀹舵湁绌轰篃鍙互瀹為獙涓嬨傝繕鐪熸湁鐢?div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">package</span><span style="color: rgb(0, 0, 0);">聽org.job.six;<br /><br />聽<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽java.io.UnsupportedEncodingException;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽java.security.Security;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽java.util.Properties;<br /><br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.FetchProfile;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.Folder;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.Message;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.Session;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.Store;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.URLName;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.internet.InternetAddress;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.internet.MimeUtility;<br /><br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽org.job.util.Logger;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽org.job.util.mail.ApplicationContext;<br /><br /></span><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br />聽*聽鐢ㄤ簬鏀跺彇Gmail閭歡<br />聽*聽<br />聽*聽</span><span style="color: rgb(128, 128, 128);">@author</span><span style="color: rgb(0, 128, 0);">聽wuhua<br />聽</span><span style="color: rgb(0, 128, 0);">*/</span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);">聽GmailFetch聽{<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">聽Logger聽logger聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽Logger.getLogger(GmailFetch.</span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);">聽main(String聽argv[])聽</span><span style="color: rgb(0, 0, 255);">throws</span><span style="color: rgb(0, 0, 0);">聽Exception聽{<br />聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">寮濮嬭鍙栭偖浠?img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" /></span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽Security.addProvider(</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽com.sun.net.ssl.internal.ssl.Provider());<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);">聽String聽SSL_FACTORY聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">javax.net.ssl.SSLSocketFactory</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽Get聽a聽Properties聽object</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽Properties聽props聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽System.getProperties();<br />聽聽聽聽聽聽聽聽props.setProperty(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">mail.pop3.socketFactory.class</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽SSL_FACTORY);<br />聽聽聽聽聽聽聽聽props.setProperty(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">mail.pop3.socketFactory.fallback</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">false</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽props.setProperty(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">mail.pop3.port</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">995</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽props.setProperty(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">mail.pop3.socketFactory.port</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">995</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /><br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽浠ヤ笅姝ラ璺熶竴鑸殑JavaMail鎿嶄綔鐩稿悓</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽Session聽session聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽Session.getDefaultInstance(props,聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">);<br /><br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽璇峰皢綰㈣壊閮ㄥ垎瀵瑰簲鏇挎崲鎴愪綘鐨勯偖綆卞笎鍙峰拰瀵嗙爜</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽URLName聽urln聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽URLName(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">pop3</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽ApplicationContext.POP3,聽</span><span style="color: rgb(0, 0, 0);">995</span><span style="color: rgb(0, 0, 0);">,聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">,<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽ApplicationContext.GMAIL_MAIL_NAME,<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽ApplicationContext.GMAIL_MAIL_PASSWORD);<br />聽聽聽聽聽聽聽聽Store聽store聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽session.getStore(urln);<br />聽聽聽聽聽聽聽聽Folder聽inbox聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽store.connect();<br />聽聽聽聽聽聽聽聽聽聽聽聽inbox聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽store.getFolder(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">INBOX</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽聽聽聽聽inbox.open(Folder.READ_ONLY);<br />聽聽聽聽聽聽聽聽聽聽聽聽FetchProfile聽profile聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽FetchProfile();<br />聽聽聽聽聽聽聽聽聽聽聽聽profile.add(FetchProfile.Item.ENVELOPE);<br />聽聽聽聽聽聽聽聽聽聽聽聽Message[]聽messages聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽inbox.getMessages();<br />聽聽聽聽聽聽聽聽聽聽聽聽inbox.fetch(messages,聽profile);<br />聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">鏀朵歡綆辯殑閭歡鏁幫細(xì)</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽messages.length);<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);">聽(</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">聽i聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;聽i聽</span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);">聽messages.length;聽i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽閭歡鍙戦佽?/span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽String聽from聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽decodeText(messages[i].getFrom()[</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">].toString());<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽InternetAddress聽ia聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽InternetAddress(from);<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">鍙戜俊浜?</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽ia.getPersonal()聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽ia.getAddress()聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽閭歡鏍囬</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">涓婚:</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽messages[i].getSubject());<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽閭歡澶у皬</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">閭歡澶у皬:</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽messages[i].getSize());<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽閭歡鍙戦佹椂闂?/span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">鍙戦佹棩鏈?</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽messages[i].getSentDate());<br />聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽}聽</span><span style="color: rgb(0, 0, 255);">finally</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽inbox.close(</span><span style="color: rgb(0, 0, 255);">false</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽聽聽聽聽}聽</span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);">聽(Exception聽e)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽store.close();<br />聽聽聽聽聽聽聽聽聽聽聽聽}聽</span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);">聽(Exception聽e)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽<br />聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">璇誨彇閭歡瀹屾瘯<img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" /></span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽}<br /><br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">protected</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">聽String聽decodeText(String聽text)<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">throws</span><span style="color: rgb(0, 0, 0);">聽UnsupportedEncodingException聽{<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">聽(text聽</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">聽(text.startsWith(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">=?GB</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">)聽</span><span style="color: rgb(0, 0, 0);">||</span><span style="color: rgb(0, 0, 0);">聽text.startsWith(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">=?gb</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">))<br />聽聽聽聽聽聽聽聽聽聽聽聽text聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽MimeUtility.decodeText(text);<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">else</span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽聽聽聽聽text聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽String(text.getBytes(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">ISO8859_1</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">));<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">聽text;<br />聽聽聽聽}<br /><br />}<br /></span></div><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 255);">package</span><span style="color: rgb(0, 0, 0);">聽org.job.six;<br /><br />聽<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽java.io.UnsupportedEncodingException;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽java.security.Security;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽java.util.Properties;<br /><br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.FetchProfile;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.Folder;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.Message;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.Session;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.Store;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.URLName;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.internet.InternetAddress;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽javax.mail.internet.MimeUtility;<br /><br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽org.job.util.Logger;<br /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);">聽org.job.util.mail.ApplicationContext;<br /><br /></span><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br />聽*聽鐢ㄤ簬鏀跺彇Gmail閭歡<br />聽*聽<br />聽*聽</span><span style="color: rgb(128, 128, 128);">@author</span><span style="color: rgb(0, 128, 0);">聽wuhua<br />聽</span><span style="color: rgb(0, 128, 0);">*/</span><span style="color: rgb(0, 0, 0);"><br /></span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);">聽GmailFetch聽{<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">聽Logger聽logger聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽Logger.getLogger(GmailFetch.</span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);">聽main(String聽argv[])聽</span><span style="color: rgb(0, 0, 255);">throws</span><span style="color: rgb(0, 0, 0);">聽Exception聽{<br />聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">寮濮嬭鍙栭偖浠?img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" /></span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽Security.addProvider(</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽com.sun.net.ssl.internal.ssl.Provider());<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);">聽String聽SSL_FACTORY聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">javax.net.ssl.SSLSocketFactory</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽Get聽a聽Properties聽object</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽Properties聽props聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽System.getProperties();<br />聽聽聽聽聽聽聽聽props.setProperty(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">mail.pop3.socketFactory.class</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽SSL_FACTORY);<br />聽聽聽聽聽聽聽聽props.setProperty(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">mail.pop3.socketFactory.fallback</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">false</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽props.setProperty(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">mail.pop3.port</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">995</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽props.setProperty(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">mail.pop3.socketFactory.port</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">995</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /><br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽浠ヤ笅姝ラ璺熶竴鑸殑JavaMail鎿嶄綔鐩稿悓</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽Session聽session聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽Session.getDefaultInstance(props,聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">);<br /><br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽璇峰皢綰㈣壊閮ㄥ垎瀵瑰簲鏇挎崲鎴愪綘鐨勯偖綆卞笎鍙峰拰瀵嗙爜</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽URLName聽urln聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽URLName(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">pop3</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">,聽ApplicationContext.POP3,聽</span><span style="color: rgb(0, 0, 0);">995</span><span style="color: rgb(0, 0, 0);">,聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">,<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽ApplicationContext.GMAIL_MAIL_NAME,<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽ApplicationContext.GMAIL_MAIL_PASSWORD);<br />聽聽聽聽聽聽聽聽Store聽store聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽session.getStore(urln);<br />聽聽聽聽聽聽聽聽Folder聽inbox聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽store.connect();<br />聽聽聽聽聽聽聽聽聽聽聽聽inbox聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽store.getFolder(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">INBOX</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽聽聽聽聽inbox.open(Folder.READ_ONLY);<br />聽聽聽聽聽聽聽聽聽聽聽聽FetchProfile聽profile聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽FetchProfile();<br />聽聽聽聽聽聽聽聽聽聽聽聽profile.add(FetchProfile.Item.ENVELOPE);<br />聽聽聽聽聽聽聽聽聽聽聽聽Message[]聽messages聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽inbox.getMessages();<br />聽聽聽聽聽聽聽聽聽聽聽聽inbox.fetch(messages,聽profile);<br />聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">鏀朵歡綆辯殑閭歡鏁幫細(xì)</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽messages.length);<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);">聽(</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">聽i聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;聽i聽</span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);">聽messages.length;聽i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽閭歡鍙戦佽?/span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽String聽from聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽decodeText(messages[i].getFrom()[</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">].toString());<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽InternetAddress聽ia聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽InternetAddress(from);<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">鍙戜俊浜?</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽ia.getPersonal()聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽ia.getAddress()聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽閭歡鏍囬</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">涓婚:</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽messages[i].getSubject());<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽閭歡澶у皬</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">閭歡澶у皬:</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽messages[i].getSize());<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">聽閭歡鍙戦佹椂闂?/span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">鍙戦佹棩鏈?</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);">聽messages[i].getSentDate());<br />聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽}聽</span><span style="color: rgb(0, 0, 255);">finally</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽inbox.close(</span><span style="color: rgb(0, 0, 255);">false</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽聽聽聽聽聽聽聽聽}聽</span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);">聽(Exception聽e)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);">聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽store.close();<br />聽聽聽聽聽聽聽聽聽聽聽聽}聽</span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);">聽(Exception聽e)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽<br />聽聽聽聽聽聽聽聽logger.debug(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">璇誨彇閭歡瀹屾瘯<img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" /></span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />聽聽聽聽}<br /><br />聽聽聽聽</span><span style="color: rgb(0, 0, 255);">protected</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">聽String聽decodeText(String聽text)<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">throws</span><span style="color: rgb(0, 0, 0);">聽UnsupportedEncodingException聽{<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">聽(text聽</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">聽(text.startsWith(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">=?GB</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">)聽</span><span style="color: rgb(0, 0, 0);">||</span><span style="color: rgb(0, 0, 0);">聽text.startsWith(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">=?gb</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">))<br />聽聽聽聽聽聽聽聽聽聽聽聽text聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽MimeUtility.decodeText(text);<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">else</span><span style="color: rgb(0, 0, 0);"><br />聽聽聽聽聽聽聽聽聽聽聽聽text聽</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">聽</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">聽String(text.getBytes(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">ISO8859_1</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">));<br />聽聽聽聽聽聽聽聽</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">聽text;<br />聽聽聽聽}<br /><br />}<br /><br /><br /></span></div> 涓婇潰浠g爜錛屽畬鍏ㄥ彲浠ュ皝瑁呮垚涓涓敹鍙杝sl閭歡鐨勫簱<br /> 鏀瑰ぉ鏈夋椂闂存暣鐞嗕笅鍏充簬鍙戦偖浠剁殑鏂規(guī)硶<img src ="http://www.tkk7.com/gooogle/aggbug/107474.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/gooogle/" target="_blank">鐖櫕宸ヤ綔瀹?/a> 2007-03-30 14:36 <a href="http://www.tkk7.com/gooogle/archive/2007/03/30/107474.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎬庝箞鏍鋒妸鏈湴鐨刯ava婧愭枃浠訛紝璧勬簮絳夋彁浜ゅ埌web鏈嶅姟鍣紝涓嶆槸鎵嬪伐銆?/title><link>http://www.tkk7.com/gooogle/archive/2007/03/06/105193.html</link><dc:creator>鐖櫕宸ヤ綔瀹?/dc:creator><author>鐖櫕宸ヤ綔瀹?/author><pubDate>Tue, 06 Mar 2007 06:19:00 GMT</pubDate><guid>http://www.tkk7.com/gooogle/archive/2007/03/06/105193.html</guid><wfw:comment>http://www.tkk7.com/gooogle/comments/105193.html</wfw:comment><comments>http://www.tkk7.com/gooogle/archive/2007/03/06/105193.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.tkk7.com/gooogle/comments/commentRss/105193.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/gooogle/services/trackbacks/105193.html</trackback:ping><description><![CDATA[<table width="100%"> <tbody> <tr> <td> <p>聽聽聽 榪欏嚑澶╀竴鐩村湪蹇欑潃璁捐web欏圭洰銆傚叕鍙稿垰鍒氫拱浜?jiǎn)涓鍙版祴璇曟湇鍔″櫒榪囨潵銆備互鍓嶆病嫻嬭瘯鏈嶅姟鍣ㄧ殑鏃跺欙紝鏄妸閭d簺classes璺焤es絳夎祫婧愭枃浠舵墜宸ユ斁鍒版湇鍔″櫒錛坙inux錛夈備互鍓嶆病鏈嶅姟鍣ㄧ殑鏃跺欙紝鏄粈涔堥兘鍦ㄦ湰鏈烘祴璇曪紝mysql錛宼omcat鍟婄瓑銆傚緢鏄秷鑰楄祫婧愶紝鐜板湪鎴戞兂鎶婅繖浜涚敤嫻嬭瘯鏈嶅姟鍣ㄦ潵鍋氥備絾浠ュ墠涓鐩存病鏈夊鑷姩鎻愪氦璧勬簮鏂囦歡鐨勫伐鍏楓傜函鎵嬪伐寰堥夯鐑?chǔ)銆傜湅鐪嬪悇浣嶅厔寮熸湁榪欐柟闈㈢殑緇忛獙娌℃湁銆傜粰涓猙uild.xml鐨勮剼鏈弬鑰冧笅涔熻銆傝繖孌墊椂闂存瘮杈冩噿錛屼笉鎯沖幓鎼滅儲(chǔ)浜?jiǎn)銆?/p> </td> </tr> </tbody> </table><img src ="http://www.tkk7.com/gooogle/aggbug/105193.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/gooogle/" target="_blank">鐖櫕宸ヤ綔瀹?/a> 2007-03-06 14:19 <a href="http://www.tkk7.com/gooogle/archive/2007/03/06/105193.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://gstywy.com" target="_blank">美女被免费视频网站</a>| <a href="http://88533066.com" target="_blank">亚洲中文字幕无码爆乳av中文 </a>| <a href="http://jinmenonline.com" target="_blank">亚洲色大成网站www永久一区 </a>| <a href="http://89895cc.com" target="_blank">APP在线免费观看视频</a>| <a href="http://dzhyyy.com" target="_blank">国产精品美女免费视频观看</a>| <a href="http://www431234.com" target="_blank">免费国产黄网站在线观看动图</a>| <a href="http://4438xa48.com" target="_blank">国产精品亚洲av色欲三区</a>| <a href="http://dxjz120.com" target="_blank">最新亚洲人成无码网站</a>| <a href="http://zaidongmaixi.com" target="_blank">精品久久久久亚洲</a>| <a href="http://dsfv1.com" target="_blank">麻豆安全免费网址入口</a>| <a href="http://cijishiye.com" target="_blank">色多多免费视频观看区一区</a>| <a href="http://c2277.com" target="_blank">菠萝菠萝蜜在线免费视频</a>| <a href="http://xxzyyj.com" target="_blank">jzzjzz免费观看大片免费</a>| <a href="http://by6215.com" target="_blank">国产视频精品免费视频</a>| <a href="http://53reniao.com" target="_blank">美女被cao网站免费看在线看</a>| <a href="http://zibochanglong.com" target="_blank">a级毛片在线免费看</a>| <a href="http://www22432.com" target="_blank">四虎影视成人永久免费观看视频</a>| <a href="http://yinyinai155.com" target="_blank">久久久久国产精品免费看</a>| <a href="http://41xjj.com" target="_blank">**一级毛片免费完整视</a>| <a href="http://leeszewan.com" target="_blank">午夜国产精品免费观看</a>| <a href="http://zzmm88.com" target="_blank">成年性羞羞视频免费观看无限</a>| <a href="http://ganbadei.com" target="_blank">在线免费视频一区二区</a>| <a href="http://my637.com" target="_blank">又粗又大又猛又爽免费视频</a>| <a href="http://023439.com" target="_blank">亚洲精品国产日韩无码AV永久免费网</a>| <a href="http://kppp4.com" target="_blank">亚洲综合色在线观看亚洲</a>| <a href="http://hyhtzh.com" target="_blank">亚洲色大成网站www永久一区</a>| <a href="http://7778kk.com" target="_blank">亚洲AV第一页国产精品</a>| <a href="http://dfcnpc.com" target="_blank">亚洲人成电影网站</a>| <a href="http://zbhongtai.com" target="_blank">亚洲 欧洲 视频 伦小说</a>| <a href="http://langtuojidian.com" target="_blank">亚洲国产成人精品无码区二本</a>| <a href="http://33338x.com" target="_blank">新最免费影视大全在线播放</a>| <a href="http://9527paotui.com" target="_blank">国产免费高清69式视频在线观看 </a>| <a href="http://155562.com" target="_blank">国产精品高清视亚洲精品</a>| <a href="http://455zx.com" target="_blank">四虎亚洲国产成人久久精品 </a>| <a href="http://langtuojidian.com" target="_blank">免费看无码自慰一区二区</a>| <a href="http://cytanhuang.com" target="_blank">免费在线观看亚洲</a>| <a href="http://001mc.com" target="_blank">一本色道久久综合亚洲精品</a>| <a href="http://xxnxgay.com" target="_blank">亚洲天堂视频在线观看</a>| <a href="http://818812.com" target="_blank">久久久久亚洲国产</a>| <a href="http://jxgsgg.com" target="_blank">中美日韩在线网免费毛片视频</a>| <a href="http://aidannis.com" target="_blank">免费无码又爽又刺激高潮软件</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>