锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲短视频男人的影院,国产亚洲精午夜久久久久久,亚洲一区二区三区亚瑟http://m.tkk7.com/flyffa/zh-cnSun, 11 May 2025 06:06:03 GMTSun, 11 May 2025 06:06:03 GMT60銆愬伐鍏楓憄owerdesigner鑷畾涔塂DL鐢熸垚http://m.tkk7.com/flyffa/archive/2008/06/21/209665.htmlflyffaflyffaSat, 21 Jun 2008 03:22:00 GMThttp://m.tkk7.com/flyffa/archive/2008/06/21/209665.htmlhttp://m.tkk7.com/flyffa/comments/209665.htmlhttp://m.tkk7.com/flyffa/archive/2008/06/21/209665.html#Feedback0http://m.tkk7.com/flyffa/comments/commentRss/209665.htmlhttp://m.tkk7.com/flyffa/services/trackbacks/209665.html 鍦ㄤ富鐣岄潰鑿滃崟涓夋嫨Tools-->Resources-->DBMS.
鍐嶅脊鍑虹殑鑿滃崟涓夋嫨闇瑕佹墿灞曠殑鏁版嵁搴撶被鍨嬨?br /> 鐐瑰嚮宸︿笂瑙扨roperty鍥炬爣錛屽脊鍑烘ā鏉胯緗獥鍙c?br /> 鍦ㄧ獥鍙d腑璁劇疆鐩稿簲鐨凷ql鐢熸垚妯℃澘銆?

flyffa 2008-06-21 11:22 鍙戣〃璇勮
]]>
銆恮eb銆戦潰鍚戝璞$殑javascripthttp://m.tkk7.com/flyffa/archive/2006/12/28/90493.htmlflyffaflyffaThu, 28 Dec 2006 06:39:00 GMThttp://m.tkk7.com/flyffa/archive/2006/12/28/90493.htmlhttp://m.tkk7.com/flyffa/comments/90493.htmlhttp://m.tkk7.com/flyffa/archive/2006/12/28/90493.html#Feedback1http://m.tkk7.com/flyffa/comments/commentRss/90493.htmlhttp://m.tkk7.com/flyffa/services/trackbacks/90493.html 1.1. 緇ф壙

浠婂ぉ閬囧埌浜嗛渶瑕佸湪 javascript 涓戶鎵跨殑闂錛?/span>

鏌ヤ簡涓浜涘笘瀛愶紝鑷繁鍙堝啓浜嗗嚑涓緥瀛愭祴璇曚簡涓涓嬶紝鎬葷粨濡備笅錛?/span>

1.1.1. 聽聽聽 涓夌鏂規硶

js 涓疄鐜扮戶鎵挎湁涓夌鏂規硶錛?/span>

鍋囪鐖剁被涓?/span> Parent, 瀛愮被涓?/span> Child,

絎竴縐嶏紝瀛愮被寮哄埗璋冪敤鐖剁被鏋勯?/span>

function Child(){

聽聽聽聽聽聽 Parent.call(this);

}

絎簩縐嶏紝瀛愮被闂存帴璋冪敤鐖剁被鏋勯?/span>

function Child(){

聽聽聽聽聽聽 this.base = Parent;

聽聽聽聽聽聽 this.base();

}

絎笁縐嶏細璁劇疆鍘熷瀷

function Child(){}

Child.prototype = new Parent();

榪欑鏂瑰紡铏界劧涓嶅鐩磋錛屽嵈搴旇鏄渶鏈夋晥鐜囩殑鏂瑰紡銆?/span>

1.1.2. 聽聽聽 鎬葷粨錛?/font>

鍏跺疄 js 鏈韓鏄病鏈変粈涔堢戶鎵夸箣綾葷殑姒傚康鐨勶紝鍙槸涓轟簡浣跨敤鍒╃敤 js 鐨勪竴浜涚壒鎬ц屽姞鐨勩?/span>

js 鐨勫師鍨嬫柟寮?/span> prototype, 浣垮緱璁稿鐨勫伐浣滃彉寰楀鏄撱?/span>

涓涓?/span> function 瀵硅薄鍜屾牴鎹?/span> function 鏋勯犲嚭鏉ョ殑瀵硅薄鏄笉鍚岀殑銆?/span>

涓涓?/span> function 瀵硅薄鐨勫師鍨嬪叾瀹炲氨鏄竴涓牴鎹?/span> function 瀵硅薄鏋勫緩鍑烘潵鐨勫璞°?/span>

璁頒綇錛氳繖涓璞″彲涓?/span> new 鍑烘潵鐨勫璞′笉涓鏍楓傚湪 function 鍐呴儴鐨勪唬鐮佸茍涓嶄細琚墽琛岋紝濡傦細

this.funcName = function() 榪欐牱鐨勪唬鐮併傝?/span> new 鍑烘潵鐨勫璞″垯涓嶇劧錛屼粬鍏鋒湁鎵ц鍚庣殑瀵硅薄鐗規с?/span>

function 鐨勫眬閮ㄥ彉閲忕浉褰撲簬 class 閲岀殑縐佹湁鍙橀噺錛屾棤娉曞湪瀛愮被涓幏鍙栧拰鎿嶄綔銆備絾 this. 鐨勯儴鍒嗘槸鍙互鐨勩?/span>

1.1.3. 聽聽聽 鐚滄祴鍜屽亣鎯?/font>

錛堣繖鏄垜鎺ㄦ柇鐨勶紝娌℃湁浠諱綍鐨勬牴鎹紝褰撶劧涔熸槸鍙互嫻嬭瘯鐨勶級錛?/span>

褰撲竴涓?/span> Child 琚?/span> new 鏃訛紝絎竴浜岀鏂規硶涓紝 js 鎵ц鍣?/span>

1 銆佸厛鍒嗛厤涓涓┖闂達紝錛堢浉褰撲簬 this = new Object() 錛?/span> (msdn 涓湁鍏蜂綋鐨勬弿榪?/span> )

2 銆佹嫹璐濆師鍨嬶細

3 銆佹墽琛屾瀯閫狅細涔熷氨鏄?/span> Child.call(this) 錛堢浉褰撲簬 child(), 姝ゆ椂 this 瀵硅薄鏈夊鹼級錛?/span> msdn 涓湁鎻忚堪錛?/span>

鐒跺悗鎵ц Parent(); 榪欎釜鏃跺?/span> parent 鐨勬瀯閫犲嚱鏁版墽琛屼互涓嬪嚑姝ワ細

1 銆佸皢 parent 鐨?/span> prototype 鎷瘋礉鍒?/span> object 鍖哄煙錛岃繖鏃惰鐩栦簡鍓嶉潰鐨勫尯鍩?/span> ( 濂藉儚嫻嬭瘯璇佹槑 parent 鐨勫師鍨嬪茍涓嶄細琚嫹璐濓紝姝ゆ涓嶄細琚墽琛?/span> )

2 銆佸榪欎釜鍖哄煙鎵ц鍒濆鍖栵紝涔熷氨鏄甯哥殑 function 璋冪敤鐨勮繃紼嬨傦紙鐩稿綋浜?/span> Parent(),this 鍙橀噺鏈夊鹼級

鑰屾櫘閫氱殑 function 璋冪敤搴旇鏄繖涓牱瀛愶細鐢變簬娌℃湁 new 鎿嶄綔絎︼紝鎵浠ユ病鏈変負鍏跺垎閰嶅綋鍓嶇殑 this( 涔熸病鏈夌┖闂?/span> ),

this 琚斁鍒頒簡 window 瀵硅薄涓娿備絾鏄?/span> new 鐨勬椂鍊欐樉鐒朵笉鏄繖鏍楓?/span>

obj.func() 鐨勮皟鐢ㄥ拰 func() 璋冪敤鏄畬鍏ㄤ笉涓鏍風殑錛?/span> obj.func 涓?/span> this 瀵硅薄鏄?/span> obj 瀵硅薄錛岃?/span> func() 璋冪敤 this 瀵硅薄鏄?/span> window 瀵硅薄錛岃繖涓簲璇ュ拰 jvm 涓潤鎬佹柟娉曞拰綾誨疄渚嬫柟娉曡皟鐢ㄧ殑鍖哄埆鐨勫師鐞嗕竴鏍楓?/span>

1.2. 鏂規硶閲嶈澆

鍦ㄥ疄鐜頒簡瀵硅薄緇ф壙涔嬪悗錛屾垜寮濮嬮潰涓村埌絎簩涓棶棰橈紝閲嶈澆銆?/span>

1.1.4. 聽聽聽 涓ょ鏂規硶

js 鎬庢牱瀹炵幇閲嶈澆銆?/span>

1 銆佺畝鍗曠殑閲嶈澆錛?/span>

鍦ㄨ繖縐嶉噸杞戒腑錛屽瓙綾葷殑鏂規硶鏃犻渶璋冪敤鐖剁被鐨勬柟娉曪紝鐩存帴鍦ㄦ墽琛岀埗綾繪瀯閫犱箣鍚庯紝鍐嶆墽琛屽瓙綾葷殑閲嶈澆鏂規硶錛屽 Parent 鐨?/span> toString() 鏂規硶錛岃繖鏃跺彧闇鎵ц this.toString = function(){....} 灝卞彲浠ヤ簡銆?/span>

2 銆佽皟鐢ㄧ埗綾繪柟娉曠殑閲嶈澆錛?/span>

鐢變簬 js 瀹為檯榪愯鏃跺茍娌℃湁鐖剁被銆佸瓙綾諱袱涓疄渚嬬┖闂達紝鎵浠?/span> super.toString() 鑲畾鏄笉琛岀殑錛岃屽湪瀛愮被鐨?/span> toString 鏂規硶涓繘琛?/span> this.toString() 璋冪敤鍙兘寮曡搗鍐呭瓨婧㈠嚭錛屽叾瀹炶繖縐嶄篃鍙互鎯沖姙娉曞仛鍒般?/span>

this.super_toString = this.toString();

this.toString=function(){

聽聽聽聽聽聽 ..............

聽聽聽聽聽聽 this.super_toString();

聽聽聽聽聽聽 ..............

}



flyffa 2006-12-28 14:39 鍙戣〃璇勮
]]>
寰楀埌鍑嗙‘鐨勫湪綰夸漢鏁扮粺璁★紞鍑忓皯鎼滅儲寮曟搸鐨勫共鎵?/title><link>http://m.tkk7.com/flyffa/archive/2006/12/14/87722.html</link><dc:creator>flyffa</dc:creator><author>flyffa</author><pubDate>Thu, 14 Dec 2006 07:10:00 GMT</pubDate><guid>http://m.tkk7.com/flyffa/archive/2006/12/14/87722.html</guid><wfw:comment>http://m.tkk7.com/flyffa/comments/87722.html</wfw:comment><comments>http://m.tkk7.com/flyffa/archive/2006/12/14/87722.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/flyffa/comments/commentRss/87722.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/flyffa/services/trackbacks/87722.html</trackback:ping><description><![CDATA[ <h2 style="MARGIN: 13pt 0cm"> <span style="FONT-FAMILY: 榛戜綋; mso-ascii-font-family: Arial">鍩烘湰鏂規硶錛?/span> </h2> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍩烘湰鐨勬柟娉曪紝緗戜笂鍒板閮芥槸錛屽湪</span> <span lang="EN-US">java</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓氨鏄湪</span> <span lang="EN-US">web.xml</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">娉ㄥ唽涓涓?/span> <span lang="EN-US">Listener</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛屽涓嬶細</span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"><listener><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?><o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span><listener-class>xp.web.SessionCounter</listener-class><o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"></listener></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US">SessionCounter.java</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹炵幇</span> <span lang="EN-US">javax.servlet.http.HttpSessionListener</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎺ュ彛錛屽垎鍒湪</span> <span lang="EN-US">sessionCreated</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏂規硶鍜?/span> <span lang="EN-US">sessionDestroyed</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏂規硶涓鐞?/span> <span lang="EN-US">session</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏁扮洰銆?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪欐牱鐨勬柟娉曟湁涓瀹氱殑闂錛?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US">1</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">銆佸浜庣湡姝d粠緗戦〉璁塊棶鐨勫拰鎼滅儲寮曟搸鐨?/span> <span lang="EN-US">spider</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏃犳硶鍖哄垎銆?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US">2</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">銆佸綋</span> <span lang="EN-US">Tomcat</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">閲嶅惎鏃訛紝鍔犺澆浜嗕笂嬈℃寔涔呭寲鐨?/span> <span lang="EN-US">session</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏃訛紝鏃犳硶鍑嗙‘璁$畻鍦ㄧ嚎鏁般?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">絎簩涓棶棰樻垜浠彲浠ヤ笉浜堣冭檻錛岃繖鏄?/span> <span lang="EN-US">tomcat</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹瑰櫒瀹炵幇涓嶆爣鍑嗙殑闂錛屾垜浠瑙e喅鐨勬槸鐨勭涓涓棶棰橈紝濡備綍鐭ラ亾浣犵殑璁塊棶鐨勬槸鐪熷疄鐨勩?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <strong> <span id="mkpkrbq" class="2Char"> <span style="FONT-SIZE: 16pt; FONT-FAMILY: 榛戜綋; mso-ascii-font-family: Arial; mso-bidi-font-family: 'Times New Roman'">鐢?/span> </span> <span id="hyakftt" class="2Char"> <span lang="EN-US" style="FONT-SIZE: 16pt; mso-bidi-font-family: 'Times New Roman'"> <font face="Arial">js</font> </span> </span> <span id="uznfafz" class="2Char"> <span style="FONT-SIZE: 16pt; FONT-FAMILY: 榛戜綋; mso-ascii-font-family: Arial; mso-bidi-font-family: 'Times New Roman'">緇曡繃鎼滅儲寮曟搸</span> </span> </strong> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍋氳繃</span> <span lang="EN-US">pv</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">緇熻鐨勯兘鐭ラ亾錛屽彲浠ョ敤</span> <span lang="EN-US">script</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勬柟寮忓緱鍒頒綘鐪熷疄鐨?/span> <span lang="EN-US">pageView</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏁扮洰錛屾垜浠幇鍦ㄨ鍋氱殑灝辨槸榪欐牱鐨勪竴浠朵簨鎯咃紝鎴戜滑鍦ㄦ墍鏈夌殑欏甸潰閮藉姞鍏ヤ竴孌佃瘽錛?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"><script type="text/javascript"><o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">document.write ("<iframe src='/sessionCountServlet' width=0 height=0 frameborder=no border=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>");<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"></script></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐒跺悗鎴戜滑鍐欎笂涓涓?/span> <span lang="EN-US">servlet</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏉ヨ褰曡繖浜涚湡姝g殑璁塊棶鑰呫?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">import java.io.*;<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">import javax.servlet.*;<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">import javax.servlet.http.*;</span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">public class SessionCounterServlet extends HttpServlet {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public SessionCounterServlet() {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>super();<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public void doGet(HttpServletRequest request,<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 </span>HttpServletResponse response) throws IOException,<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽聽聽聽聽 </span>ServletException {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>process(request, response);<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public void doPost(HttpServletRequest request,<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 </span>HttpServletResponse response) throws IOException,<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽聽聽聽聽 </span>ServletException {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>process(request, response);<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public void process(HttpServletRequest request,<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 </span>HttpServletResponse response) throws IOException,<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽聽聽聽聽 </span>ServletException {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>SessionCounter.put(request.getSession().getId());<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21.75pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">}</span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"> <span lang="EN-US"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎴戜滑鍙互鐪嬪埌榪欎釜</span> <span lang="EN-US">servlet</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍙槸鍋氫簡涓浠朵簨鎯咃紝鍦?/span> <span lang="EN-US">process</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">閲岄潰鍋氫簡</span> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">SessionCounter.put(request.getSession().getId());</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪欎釜鍔ㄤ綔銆?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎴戜滑鏉ョ湅鐪嬫垜浠殑</span> <span lang="EN-US">SessionCounter</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍋氫簡浜涗粈涔堬細</span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">import javax.servlet.http.*;<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">import java.util.Hashtable;<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">public class SessionCounter implements HttpSessionListener {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public SessionCounter() {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public static Hashtable m_real = new Hashtable();<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>private static long count = 0;<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public void sessionCreated(HttpSessionEvent e) {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>count++;<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public void sessionDestroyed(HttpSessionEvent e) {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>if (count > 0) {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽聽聽聽聽 </span>count--;<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>m_real.remove(e.getSession().getId());<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public static long getSessionCount() {<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>return count;<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public static void put(String sessionId){<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>m_real.put(sessionId,"1");<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <o:p>聽</o:p> </span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>public static int getRealCount(){<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽聽聽聽聽 </span>return m_real.size();<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver"> <span style="mso-spacerun: yes">聽聽聽 </span>}<o:p></o:p></span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span lang="EN-US" style="BACKGROUND: silver; mso-highlight: silver">}</span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎴戜滑璁板綍浜嗕竴涓潤鎬佺殑</span> <span lang="EN-US">hash</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">琛ㄦ潵璁板綍嬋媧葷姸鎬佺殑</span> <span lang="EN-US">sessionid</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛屽茍鍦?/span> <span lang="EN-US">session</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">閿姣佺殑鏃跺欏皢榪欎釜</span> <span lang="EN-US">sessionid</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">緗負絀恒?/span> </p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎬庝箞鎶?/span> <span lang="EN-US">servlet</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">閰嶇疆鍒?/span> <span lang="EN-US">web</span> <span style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">搴旂敤涓垜灝變笉緗楀攩浜嗐?/span> </p> <img src ="http://m.tkk7.com/flyffa/aggbug/87722.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/flyffa/" target="_blank">flyffa</a> 2006-12-14 15:10 <a href="http://m.tkk7.com/flyffa/archive/2006/12/14/87722.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>銆愭湇鍔¢厤緗慳pache+tomcat閰嶇疆璐熻澆鍧囪 鐨勭綉绔?/title><link>http://m.tkk7.com/flyffa/archive/2006/11/06/79356.html</link><dc:creator>flyffa</dc:creator><author>flyffa</author><pubDate>Mon, 06 Nov 2006 03:49:00 GMT</pubDate><guid>http://m.tkk7.com/flyffa/archive/2006/11/06/79356.html</guid><wfw:comment>http://m.tkk7.com/flyffa/comments/79356.html</wfw:comment><comments>http://m.tkk7.com/flyffa/archive/2006/11/06/79356.html#Feedback</comments><slash:comments>9</slash:comments><wfw:commentRss>http://m.tkk7.com/flyffa/comments/commentRss/79356.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/flyffa/services/trackbacks/79356.html</trackback:ping><description><![CDATA[     鎽樿: 鍦ㄧ綉涓婃壘浜嗕竴浜涙枃妗o紝榪樻槸瑙夊緱涓嶆槸寰堟竻妤氾紝鑷繁璧頒簡浜涘集璺紝鎵嶆妸榪欎釜閰嶇疆濂斤紝榪樻槸鍐欎笅鏉ュ惂錛屼互澶囧悗鏌ャ? 1.聽聽 鐩爣 浣跨敤 apache 鍜? tomcat 閰嶇疆涓涓彲浠ュ簲鐢ㄧ殑 web 緗戠珯錛岃杈懼埌浠ヤ笅瑕佹眰錛? ...  <a href='http://m.tkk7.com/flyffa/archive/2006/11/06/79356.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/flyffa/aggbug/79356.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/flyffa/" target="_blank">flyffa</a> 2006-11-06 11:49 <a href="http://m.tkk7.com/flyffa/archive/2006/11/06/79356.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>銆怌SS銆戞牱寮忚〃涓殑綾誨畾涔?/title><link>http://m.tkk7.com/flyffa/archive/2006/11/02/78653.html</link><dc:creator>flyffa</dc:creator><author>flyffa</author><pubDate>Thu, 02 Nov 2006 05:14:00 GMT</pubDate><guid>http://m.tkk7.com/flyffa/archive/2006/11/02/78653.html</guid><wfw:comment>http://m.tkk7.com/flyffa/comments/78653.html</wfw:comment><comments>http://m.tkk7.com/flyffa/archive/2006/11/02/78653.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://m.tkk7.com/flyffa/comments/commentRss/78653.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/flyffa/services/trackbacks/78653.html</trackback:ping><description><![CDATA[ <p align="left">聽聽聽鏈榪戝仛緗戦〉鐨勬椂鍊欐棤鎰忎腑鍙戠幇涓涓湁鎰忔濈殑闂錛屽彧鍦↖e涓祴璇曡繃錛屼笉鐭ラ亾鍦╢irefox涓湁浠涔堢幇璞°?br /><font style="BACKGROUND-COLOR: #d3d3d3" size="2"><font style="BACKGROUND-COLOR: #ffffff"><font size="3">鍏堝畾涔夋牱寮忚〃錛?/font><br /><font style="BACKGROUND-COLOR: #d3d3d3"><STYLE><br />DIV .head1<br />{<br />聽background-color: yellow;<br />}</font></font></font></p> <p> <font style="BACKGROUND-COLOR: #d3d3d3" size="2">DIV.head2<br />{<br />聽background-color: red;<br />}</font> </p> <p> <font style="BACKGROUND-COLOR: #d3d3d3" size="2"></STYLE> <style><![CDATA[ DIV .head1 { background-color: yellow; } DIV.head2 { background-color: red; } >]]></style><br /><br /><br /><font style="BACKGROUND-COLOR: #ffffff">灞曠幇鏍峰紡錛?/font></font> </p> <p> <font style="BACKGROUND-COLOR: #d3d3d3"><div class="head1">div1</div><br /><span class="head1">span1</span><br /><div class="head2">div1</div><br /><span class="head2">span1</span><br /></font> </p> <div id="uzlxudt" class="head1">div1</div> <span id="gcklfjd" class="head1">span1</span> <div id="dzoliyd" class="head2">div1</div> <span id="ixqnztj" class="head2">span1</span> <br /> <br />嫻嬭瘯head1 涓巋ead2鐨勫尯鍒?<br /><p><font style="BACKGROUND-COLOR: #d3d3d3" size="2"><div><br /><div class="head1">div2</div><br /><span class="head1">span2</span><br /></div></font></p><div><div id="hzaibnh" class="head1"><font style="BACKGROUND-COLOR: #ffff00">div2</font></div><span id="funzafv" class="head1"><font style="BACKGROUND-COLOR: #ffff00">span2</font></span></div><p><font style="BACKGROUND-COLOR: #d3d3d3" size="2"><p><br /><div class="head1">div2</div><br /><span class="head1">span2</span><br /></p></font><br /></p><p></p><div id="wdpeugl" class="head1">div2</div><span id="tpxbysi" class="head1">span2</span><p></p><br /><br /><br />鎬葷粨錛?br />聽head1鏍峰紡鍜宧ead2鏍峰紡鐨勪富瑕佸尯鍒氨鏄腑闂村浜嗕竴涓┖鏍箋偮?font color="#ff0000">鎰熻鍍忔槸head1鏍峰紡鏄寚鍦╠iv鍐呴儴閫傜敤鐨勬牱寮忥紱</font>聽head2鏍峰紡鏄簲鐢ㄤ簬div鍏冪礌涓婄殑鏍峰紡錛?br /><br />鍙︼細鐢變簬鍗氬涓婄殑緙栬緫鍣ㄨ嚜鍔ㄥ湪style涔嬮棿澧炲姞浜哻data瑙掓爣錛屽鑷存垜鐨勬晥鏋滄棤娉曟樉紺猴紝head1鐨勬晥鏋滄垜鏄氳繃璁劇疆鑳屾櫙鑹插畬鎴愮殑錛屾湁鍏磋叮鐨勬湅鍙嬪彲浠ユ妸閭e嚑孌典唬鐮佹嫹鍑烘潵瀛樻垚涓涓枃浠訛紝灝卞彲浠ョ湅鍒版晥鏋溿?br /><br />璇烽珮鎵嬫寚鏁欍? <p></p><img src ="http://m.tkk7.com/flyffa/aggbug/78653.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/flyffa/" target="_blank">flyffa</a> 2006-11-02 13:14 <a href="http://m.tkk7.com/flyffa/archive/2006/11/02/78653.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Proxool榪炴帴姹犵殑綆鍗曢厤緗?/title><link>http://m.tkk7.com/flyffa/archive/2006/11/02/78639.html</link><dc:creator>flyffa</dc:creator><author>flyffa</author><pubDate>Thu, 02 Nov 2006 04:00:00 GMT</pubDate><guid>http://m.tkk7.com/flyffa/archive/2006/11/02/78639.html</guid><wfw:comment>http://m.tkk7.com/flyffa/comments/78639.html</wfw:comment><comments>http://m.tkk7.com/flyffa/archive/2006/11/02/78639.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://m.tkk7.com/flyffa/comments/commentRss/78639.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/flyffa/services/trackbacks/78639.html</trackback:ping><description><![CDATA[聽聽聽聽聽聽鑷繁浠ュ墠鍋氱▼搴忛兘鏄嚜宸卞啓榪炴帴姹狅紝閭d釜鏃跺欓」鐩ぇ錛岀幆澧冨悇寮傦紝涓轟簡渚夸簬瀹炴柦錛屾繪槸鐢辮嚜宸辮繘琛岃繛鎺ユ睜鐨勭鐞嗭紝絳夊埌鑷繁鎯沖仛涓浜涘皬涓滆タ鐨勬椂鍊欙紝鎵嶅彂鐜拌繖涓繛鎺ユ睜鎴愪簡涓涓笓鐢ㄧ殑涓滆タ錛屽拰緋葷粺鍋氫簡澶鐨勭粦瀹氾紝鍙兘鎵捐繛鎺ユ睜鐢紝鐢ㄨ繃resin鑷甫鐨勮繛鎺ユ睜錛屽啀鐢╰omcat榪炴帴姹犵殑鏃跺欏氨寰堜笉鐖斤紝娌℃湁鐩戞帶鐨勫姛鑳斤紝鍦ㄧ綉涓婇夋潵閫夊幓錛屾渶鍚庨夋嫨浜哖roxool銆?br /><br />聽聽聽聽聽聽Proxool榪炴帴姹犳槸sourceforge涓嬬殑涓涓紑婧愰」鐩?榪欎釜欏圭洰鎻愪緵涓涓仴澹佹槗鐢ㄧ殑榪炴帴姹狅紝鏈涓哄叧閿殑鏄繖涓繛鎺ユ睜鎻愪緵鐩戞帶鐨勫姛鑳斤紝鏂逛究鏄撶敤錛屼究浜庡彂鐜拌繛鎺ユ硠婕忕殑鎯呭喌銆傚紑婧愰」鐩湴鍧鏄細<a ><br />http://proxool.sourceforge.net/</a><br /><br />閰嶇疆榪炴帴姹犳瘮杈冪殑綆鍗曪細<br />1銆佸皢涓嬭澆鐨勫寘瑙e紑錛屼粠鍖呬腑鐨刲ib鐩綍涓嬪皢proxool-xxx.jar(xxx闅忕潃涓嶅悓鐨勭増鏈彿鍙樺寲)鍔犲叆浣犵殑宸ョ▼涓?br />2銆侀厤緗暟鎹簮錛?br />聽聽聽聽聽聽鍦╳eb-info涓嬪緩绔嬫枃浠訛細proxool.xml錛屾枃浠跺唴瀹瑰涓嬶細<br /><font style="BACKGROUND-COLOR: #d3d3d3"><font size="2"><?xml version="1.0" encoding="UTF-8"?><br /><something-else-entirely><br />聽 <proxool><br />聽聽聽 <alias>Develop</alias><br />聽聽聽 <driver-url>jdbc:mysql://localhost/kuanxue</driver-url><br />聽聽聽 <driver-class>com.mysql.jdbc.Driver</driver-class><br />聽聽聽 <driver-properties><br />聽聽聽聽聽 <property name="user" value="root"/><br />聽聽聽聽聽 <property name="password" value=""/><br />聽聽聽聽聽 <property name="useUnicode" value="true"/><br />聽聽聽聽聽 <property name="characterEncoding" value="GBK"/><br />聽聽聽 </driver-properties><br />聽聽聽 <maximum-connection-count>500</maximum-connection-count><br />聽聽聽 <house-keeping-test-sql>select CURRENT_DATE</house-keeping-test-sql><br />聽 </proxool><br />聽</something-else-entirely><br /></font><br /><font style="BACKGROUND-COLOR: #ffffff">3銆侀厤緗畐eb.xml<br />鍦╳eb.xml涓鍔狅細<br /><font style="BACKGROUND-COLOR: #d3d3d3" size="2"><!--聽閰嶇疆鍒濆鍖杝ervlet,鍦╳eb瀹瑰櫒鍔犺澆鐨勬椂鍊欒嚜鍔ㄥ姞杞介厤緗枃浠訛紝濡傛灉涓嶆槸web紼嬪簭錛岃繖涓儴鍒嗗氨闇瑕侀氳繃寮鍙戞帴鍙f潵鍒濆鍖栦簡 --><br /><servlet><br />聽聽聽聽 <servlet-name>proxoolInitialServlet</servlet-name><br />聽<servlet-class>org.logicalcobwebs.proxool.configuration.ServletConfigurator</servlet-class><br />聽聽聽聽 <init-param><br />聽聽聽聽聽聽 <param-name>xmlFile</param-name><br />聽聽聽聽聽聽 <param-value>WEB-INF/proxool.xml</param-value><br />聽聽聽聽 </init-param><br />聽聽聽聽 <load-on-startup>1</load-on-startup><br />聽聽 </servlet><br /><!--閰嶇疆鐩戞帶servlet,鍏跺疄濡傛灉涓嶆兂鐩戞帶鐨勮瘽錛屽彲浠ヤ笉閰?-><br />聽聽 <servlet><br />聽聽聽 <servlet-name>dbpoolAdmin</servlet-name><br />聽聽聽 <servlet-class>org.logicalcobwebs.proxool.admin.servlet.AdminServlet</servlet-class><br />聽 </servlet><br />聽聽 <servlet-mapping><br />聽聽聽 <servlet-name>dbpoolAdmin</servlet-name><br />聽聽聽 <url-pattern>/dbpool</url-pattern><br />聽 </servlet-mapping><br /></font><br /></font></font><font style="BACKGROUND-COLOR: #ffffff">4銆佸湪紼嬪簭涓皟鐢?br />涓鑸垜灝嗚幏鍙朿onnection鐨勮涓哄皝瑁呬負涓涓伐鍘傛ā寮忥紝渚夸簬澶氱鎯呭喌鐨勫垏鎹紝浠ヤ笅鏄叾涓璸roxool鏁版嵁婧愮殑getConnection鏂規硶鐨勫疄鐜幫細<br /><br /></font><font style="BACKGROUND-COLOR: #d3d3d3" size="2">public Connection getConnection() {<br />聽聽聽聽聽聽聽 try{<br />聽聽聽聽聽聽聽聽聽聽聽 Class.forName("org.logicalcobwebs.proxool.ProxoolDriver");<br />聽聽聽聽聽聽聽聽聽聽聽 return DriverManager.getConnection("proxool.Develop");<br />聽聽聽聽聽聽聽 }catch(Exception ex){<br />聽聽聽聽聽聽聽聽聽聽聽 ex.printStackTrace();<br />聽聽聽聽聽聽聽 }<br />聽聽聽聽聽聽聽 return null;<br />聽聽聽 }<br /><br /><font style="BACKGROUND-COLOR: #ffffff">5銆佸簲鐢ㄥ紑鍙戯細<br />聽聽聽聽聽聽鍦ㄥ疄闄呯殑搴旂敤涓紝鎴戜滑鍙兘闇瑕佹洿澶氱殑鍔熻兘錛屾瘮濡傜洃鎺у姛鑳戒笉澶熷己澶э紝鏉冮檺涓嶅ソ鎺у埗錛屾垜浠笇鏈涜兘澶熺紪鍐欏嚭鏇村己澶х殑鍔熻兘錛屾瘮濡傛潃姝諱竴浜涘ぇ鐨勬煡璇㈣鍙ョ瓑錛岃褰曞悇縐嶆煡璇㈣鍙ュ崰鐢ㄧ殑鏃墮棿錛岃繖灝遍渶瑕佸寮鍙戞帴鍙h繘琛岃繘涓姝ョ殑鐮旂┒浜嗐?br /></font></font><img src ="http://m.tkk7.com/flyffa/aggbug/78639.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/flyffa/" target="_blank">flyffa</a> 2006-11-02 12:00 <a href="http://m.tkk7.com/flyffa/archive/2006/11/02/78639.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>銆怌SS銆慏IV鍐呭祵嫻姩DIV鏃剁殑闂http://m.tkk7.com/flyffa/archive/2006/11/01/78449.htmlflyffaflyffaWed, 01 Nov 2006 04:43:00 GMThttp://m.tkk7.com/flyffa/archive/2006/11/01/78449.htmlhttp://m.tkk7.com/flyffa/comments/78449.htmlhttp://m.tkk7.com/flyffa/archive/2006/11/01/78449.html#Feedback2http://m.tkk7.com/flyffa/comments/commentRss/78449.htmlhttp://m.tkk7.com/flyffa/services/trackbacks/78449.html
<div style="border-style:solid">
聽聽 <div style = "float:right;border-style:solid">dsfsdfsd<div>
</div>

鍙戠幇鍐呭眰div浼氳秺鐣岋紝鍦ㄧ綉涓婃壘浜嗕竴涓嬶細
<div style="border-style:solid">
聽聽 <div style = "float:right;border-style:solid">dsfsdfsd<div>
聽聽 <div style="font: 0px/0px sans-serif;clear: both;display: block">
</div>
鍔犺繖涔堜竴鍙ュ氨濂戒簡錛岄『渚挎煡鍒頒簡涓涓湪firefox涓В鍐崇殑鏂規硶錛?br /><div style="border-style:solid">
聽聽 <div style = "float:right;border-style:solid">dsfsdfsd<div>
聽聽 <br clear="alll">
</div>


flyffa 2006-11-01 12:43 鍙戣〃璇勮
]]>
銆愭悳绱€戞鍏ュ叏鏂囨绱㈢涓姝?/title><link>http://m.tkk7.com/flyffa/archive/2006/10/12/74773.html</link><dc:creator>flyffa</dc:creator><author>flyffa</author><pubDate>Thu, 12 Oct 2006 05:28:00 GMT</pubDate><guid>http://m.tkk7.com/flyffa/archive/2006/10/12/74773.html</guid><wfw:comment>http://m.tkk7.com/flyffa/comments/74773.html</wfw:comment><comments>http://m.tkk7.com/flyffa/archive/2006/10/12/74773.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/flyffa/comments/commentRss/74773.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/flyffa/services/trackbacks/74773.html</trackback:ping><description><![CDATA[鏈榪戠敱浜庨」鐩渶瑕侊紝寮濮嬪鍏ㄦ枃媯绱㈠仛浜涗簡瑙o紝鍒氬垰寮濮嬶紝鐢變簬欏圭洰浜哄姏鐨勪弗閲嶄笉瓚籌紝鎴戞病鏈夊お澶氱殑鏃墮棿榪涜緇嗚嚧鐨勭爺絀訛紝涓嶇煡閬撹兘璧板埌濡備綍鐨勪竴涓繁搴︼紝璧頒竴姝ワ紝鐪嬩竴姝ュ惂銆?br /><br />鎴戠敤java鍋氱殑寮鍙戯紝鐢變簬鏁版嵁搴撹〃騫朵笉澶氾紝鎴戞病鏈夐噰鐢╤ibernate鎴栬呭叾浠栫殑鎸佷箙灞傦紝鑰屾槸鐩存帴浣跨敤浜唈dbc榪涜鏁版嵁搴撴搷浣溿傛暟鎹簱浣跨敤鐨勬槸Mysql銆?br /><br />鍋氭悳绱紝絎竴鎯沖埌鐨勫氨鏄痩ike浜嗭紝鍚庢潵鍙戠幇鏉′歡鍙兘姣旇緝澶嶆潅錛屾晥鐜囧彲鑳戒綆涓嬶紝浜庢槸鍑嗗娣誨姞鍏ㄦ枃媯绱㈢殑鎼滅儲妯″紡銆?br /><br /><strong>絎竴綾伙細鏁版嵁搴撳唴宓屽叏鏂囨绱?/strong><br /><br />絎竴縐嶆柟妗堬細姣棤鐤戦棶錛屾渶涓虹渷浜嬬殑榪樻槸鏁版嵁搴撶洿鎺ュ府鎴戞悶瀹氾紝鎴戞棤欏誨畨瑁呮柊鐨勪笢瑗匡紝涔熶笉鐢ㄨ姳澶鐨勬椂闂村仛鏂扮殑鐮旂┒銆?br />聽聽聽聽聽聽鎴戠敤鐨勬槸Mysql5.1銆傛煡瀹樻柟鏂囨。錛屼嬌鐢ㄥ叏鏂囨绱㈡妧鏈緢綆鍗曪細<br />聽聽聽聽聽聽鎶婅〃寤烘垚MyIsam鐨勶紝<br />聽聽聽聽聽聽鐒跺悗瀵煎叆鏁版嵁錛?br />聽聽聽聽聽聽鐒跺悗寤虹珛fulltext绱㈠紩錛?br />聽聽聽聽聽聽鐒跺悗錛岃皟鏁翠粈涔堟渶灝忚瘝闀匡紙榪欎釜閮ㄥ垎鎴戣繕娌″仛灝卞彂鐜伴棶棰樹簡錛岃妭綰︿簡涓閮ㄥ垎宸ヤ綔閲忥級錛?br />聽聽聽聽聽聽鐒跺悗鍐欎竴涓猻elect * from tbl where match (col1,col2) against ("鍏抽敭瀛?","鍏抽敭瀛?")鐨剆ql,<br />聽聽聽聽聽聽浜庢槸鍙戠幇娌℃湁浠諱綍鐨勮繑鍥炶褰曘備笂緗慻oogle浜嗕竴涓嬶紝鎵嶇煡閬搈ysql涓嶆敮鎸佷腑鏂囩殑鍏ㄦ枃錛屽湪Mysql5.1鍙傝冩墜鍐?2.7.4涓湁榪欎箞涓孌佃瘽錛?br />聽聽聽聽聽 <strong><em><span>璇稿姹夎鍜屾棩璇繖鏍風殑琛ㄦ剰璇█娌℃湁鑷畾鐣岀銆傚洜姝?/span><span>錛?span> FULLTEXT</span>鍒嗘瀽紼嬪簭涓嶈兘紜畾鍦ㄨ繖浜涙垨鍏跺畠鐨勮繖綾昏璦涓瘝鐨勮搗濮嬪拰緇撴潫鐨勪綅緗傚叾闅愬惈鎿嶄綔鍙婅闂鐨勪竴浜涘伐浣滃尯鍦?/span></em></strong><a title="12.7.聽Full-Text Search Functions" href="mk:@MSITStore:E:\涓撲笟鐭ヨ瘑\2鏁版嵁~1\mySql\MYSQL5~1.CHM::/functions.html#fulltext-search"><strong><em>12.7鑺傦紝鈥滃叏鏂囨悳绱㈠姛鑳解?/em></strong></a><span><strong><em>鏈夎緇嗚榪般?br /></em></strong>聽聽聽聽聽聽浣嗘垜娌℃湁鎵懼埌浠諱綍鍏充簬榪欎釜閮ㄥ垎鐨勬弿榪幫紝鎵浠ユ垜鏆傛椂璁や負Mysql鐩村埌鐜板湪瀵逛腑鏂囩殑鍏ㄦ枃媯绱緷鐒舵病鏈夋敮鎸併?br /><br />絎簩縐嶆柟妗堬細淇敼鐗堢殑mysql錛屽洜涓簃ysql鏄紑婧愮殑杞歡錛岄偅涔坢ysql鏈韓涓嶆敮鎸侊紝鏈夋病鏈変腑鏂囩増鐨勮兘鏀寔鍛紝鍦╣oogle涓『鎵嬫悳鍒頒簡涓涓紝嫻烽噺鍏徃鐮斿彂浜嗕竴涓紝緗戝潃錛?a >http://www.hylanda.com/</a>錛岀敱浜庝笉鏄紑婧愮殑錛屽叕鍙告槸鍟嗕笟鍖栬繍浣滐紝鍔犱笂緗戜笂搴旂敤鐨勪漢濂藉儚涔熶笉澶氾紝鏁呰岃繖涓柟妗堜篃琚悂緗簡銆?br /><br />絎笁縐嶆柟妗堬細鎻掍歡錛岀綉涓婅兘澶焔oogle鍒扮殑灝辨槸榪欐牱涓涓細<a >http://myft.twomice.net/</a>錛岀洰鍓嶅ソ鍍忔槸寮婧愯繍浣滐紝鎴戣繕娌℃湁灝濊瘯錛岀矖鐣ョ湅浜嗕竴涓嬶紝鎬庝箞榪樿鑷繁緙栬瘧mysql錛屽ソ鍍忓拰鎻掍歡鐨勬蹇墊湁浜涘嚭鍏ワ紝涓嶈繃鎬葷殑鏉ヨ錛岃繖涓柟寮忚繕鏄煎緱灝濊瘯鐨勩?br /><br />絎洓縐嶆柟妗堬細鏇存崲鏁版嵁搴擄紝鐩墠榪樻湁oracle,ms-sql鍙互閫夋嫨錛岃繖涓や釜鐨勪腑鏂囨悳绱笉鐭ラ亾鍋氱殑濡備綍錛屽鏋滀笉閿欑殑錛岃宮ysql鍙堜笉鑳借В鍐崇殑璇濓紝灝辨崲鏁版嵁搴撳惂錛屾垜鎯崇敤oracle搴旇濂戒竴浜涖?br /><br /><strong>絎簩綾伙細寮婧愬叏鏂囨绱㈠紩鎿?br /></strong>鐩墠鏈鐏殑灝辨槸lucene鍚э紝鍙互鐮旂┒鐮旂┒銆?br /><br />鍦ㄦ悳绱腑鍙戠幇浜嗚繖鏍蜂竴綃囧崥瀹㈡枃绔狅紝鍔犱笂錛屼互澶囨煡銆?br /><a >http://blog.csdn.net/jeafyezheng/archive/2006/09/29/1306463.aspx</a></span><img src ="http://m.tkk7.com/flyffa/aggbug/74773.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/flyffa/" target="_blank">flyffa</a> 2006-10-12 13:28 <a href="http://m.tkk7.com/flyffa/archive/2006/10/12/74773.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>銆愯涔︺慾sp楂樼駭緙栫▼-jsptaglibhttp://m.tkk7.com/flyffa/archive/2006/08/24/65580.htmlflyffaflyffaThu, 24 Aug 2006 09:15:00 GMThttp://m.tkk7.com/flyffa/archive/2006/08/24/65580.htmlhttp://m.tkk7.com/flyffa/comments/65580.htmlhttp://m.tkk7.com/flyffa/archive/2006/08/24/65580.html#Feedback0http://m.tkk7.com/flyffa/comments/commentRss/65580.htmlhttp://m.tkk7.com/flyffa/services/trackbacks/65580.html闃呰鍏ㄦ枃

flyffa 2006-08-24 17:15 鍙戣〃璇勮
]]>
銆愯涔︺慾sp楂樼駭緙栫▼-j2eehttp://m.tkk7.com/flyffa/archive/2006/08/24/65579.htmlflyffaflyffaThu, 24 Aug 2006 09:13:00 GMThttp://m.tkk7.com/flyffa/archive/2006/08/24/65579.htmlhttp://m.tkk7.com/flyffa/comments/65579.htmlhttp://m.tkk7.com/flyffa/archive/2006/08/24/65579.html#Feedback0http://m.tkk7.com/flyffa/comments/commentRss/65579.htmlhttp://m.tkk7.com/flyffa/services/trackbacks/65579.html2004-12-03

絎竴閮ㄥ垎錛欽SP鍜孞2EE
1銆?浠涔堟槸javabean
javabean鐨勫睘鎬у垎涓哄洓綾伙細
1銆乻imple錛氱畝鍗曞睘鎬?br />propName
getter:getpropName()
setter:setpropName()

2銆両ndex錛氱儲寮曞睘鎬?br />propName
getter:[] getpropName()
setter:setpropName()
getterI: obj getpropName(int i)
setterI: setpropName(int i,obj)

3銆乥ound錛氳Е鍙憄ropertychange浜嬩歡鐨勫睘鎬?br />鎺ュ彛鍜屾櫘閫氬睘鎬ф病鏈変粈涔堜笉鍚岋紝鍙槸鍦╯etter閲屾敮鎸佽Е鍙戜簨浠秔ropertychange.

4銆乧onstrained錛氶檺鍒剁被灞炴?br />鎺ュ彛鍜屾櫘閫氬睘鎬т竴鑷達紝setter鏀寔bound,鍙﹀錛?br />鍦╯etter涓敮鎸佽Е鍙戜簨浠惰鐩稿叧鐩戝惉緇勪歡鏉ュ垽鏂槸鍚﹀彲浠ヨ緗紝濡傛灉涓嶈錛屽叾浠栫粍浠朵細鎶涘嚭propertyvetoException

浜嬩歡妯″瀷錛?br />鍩轟簬婧愬拰listener鐨勭殑浜嬩歡妯″瀷銆俹bserver妯″紡銆?br />浜嬩歡錛歫ava.util.EventObject鍙婂叾瀛愮被銆?br />鐩戝惉鑰咃細java.util.EventListener鍙婂叾瀛愮被銆?br />婧愬璞★細鎺ュ彛蹇呴』鏍囧噯
public void add< ListenerType>(< ListenerType> listener)
public void remove< ListenerType>(< ListenerType> listener)

浜嬩歡閫傞厤鍣細
鍙互鐢ㄤ綔紜畾浼氬仛鍑哄弽鏄犵殑浜嬩歡鍝嶅簲鑰呯殑鐢ㄩ斻?/p>

2銆佸湪jsp涓嬌鐢?br />

3銆乯sp涓璲avabean鐨剆cope
application scope:搴旂敤紼嬪簭綰у埆鐨勩?br />session scope:浼氳瘽綰у埆
request scope:璇鋒眰綰у埆
page scope錛氶〉闈㈢駭鍒?/p>

1銆? ejb
鐗規畩鐨勯潰鍚戞湇鍔″櫒绔殑javabeans.
鍖呭惈sessionbean鍜宔ntitybean涓ょ
home
Home 鎺ュ彛瀹氫箟浜嗗垱寤烘煡鎵懼垹闄JB 榪滅▼鎺ュ彛瀵硅薄鎴栬匛JB 鏈嶅姟鐨勬柟娉曞鎴風
搴旂敤紼嬪簭閫氳繃浣跨敤JNDI 鎶鏈畾浣岺ome 鎺ュ彛鐨勪綅緗竴鏃﹁幏寰桯ome 鎺ュ彛鐨勫疄渚嬪氨鍙互
鍒╃敤瀹冪殑create()鏂規硶鍒涘緩EJB 榪滅▼鎺ュ彛鐨勫疄渚嬪璞?br />remote鎺ュ彛
榪滅▼璋冪敤鎺ュ彛 (鎴栬呯畝縐頒負榪滅▼鎺ュ彛Remote Interface)鏄EJB 瀵硅薄鏂規硶鐨勬誨皝瑁?br />鍦ㄨ繙紼嬭皟鐢ㄦ帴鍙d腑澹版槑浜咵JB 瀵硅薄鐨勬柟娉曚絾鏄茍娌℃湁鍏蜂綋瀹炵幇榪欎簺鏂規硶銆?setproperty id="Name" property="*">

3銆乯sp涓璲avabean鐨剆cope
application scope:搴旂敤紼嬪簭綰у埆鐨勩?br />session scope:浼氳瘽綰у埆
request scope:璇鋒眰綰у埆
page scope錛氶〉闈㈢駭鍒?/p>

1銆? ejb
鐗規畩鐨勯潰鍚戞湇鍔″櫒绔殑javabeans.
鍖呭惈sessionbean鍜宔ntitybean涓ょ
home
Home 鎺ュ彛瀹氫箟浜嗗垱寤烘煡鎵懼垹闄JB 榪滅▼鎺ュ彛瀵硅薄鎴栬匛JB 鏈嶅姟鐨勬柟娉曞鎴風
搴旂敤紼嬪簭閫氳繃浣跨敤JNDI 鎶鏈畾浣岺ome 鎺ュ彛鐨勪綅緗竴鏃﹁幏寰桯ome 鎺ュ彛鐨勫疄渚嬪氨鍙互
鍒╃敤瀹冪殑create()鏂規硶鍒涘緩EJB 榪滅▼鎺ュ彛鐨勫疄渚嬪璞?br />remote鎺ュ彛
榪滅▼璋冪敤鎺ュ彛 (鎴栬呯畝縐頒負榪滅▼鎺ュ彛Remote Interface)鏄EJB 瀵硅薄鏂規硶鐨勬誨皝瑁?br />鍦ㄨ繙紼嬭皟鐢ㄦ帴鍙d腑澹版槑浜咵JB 瀵硅薄鐨勬柟娉曚絾鏄茍娌℃湁鍏蜂綋瀹炵幇榪欎簺鏂規硶銆?/p>



flyffa 2006-08-24 17:13 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 久久嫩草影院免费看夜色| 性色av无码免费一区二区三区| 美女内射毛片在线看免费人动物| 国产一级特黄高清免费大片| 亚洲精品成人久久| 中文字幕免费播放| 亚洲国产一区视频| 在线观看亚洲免费视频| 色窝窝免费一区二区三区| 亚洲精品自产拍在线观看动漫| 日韩免费高清一级毛片| 久久黄色免费网站| 亚洲爆乳无码一区二区三区| 中国一级毛片免费看视频| 国产亚洲精品bv在线观看| 丁香花免费高清视频完整版| 亚欧洲精品在线视频免费观看 | 四虎影视永久免费观看| 免费黄网站在线观看| 亚洲国产精品成人精品无码区| 性感美女视频在线观看免费精品| 日韩亚洲人成在线| 亚洲乱亚洲乱淫久久| 国产a v无码专区亚洲av| 中国内地毛片免费高清| 成人婷婷网色偷偷亚洲男人的天堂| 免费日韩在线视频| 日韩亚洲国产高清免费视频| 亚洲成熟丰满熟妇高潮XXXXX| 日韩精品免费一区二区三区| 成人福利在线观看免费视频| 亚洲偷偷自拍高清| 国产一区二区三区在线免费| 成人片黄网站A毛片免费| 99爱在线精品视频免费观看9| 亚洲乱码卡三乱码新区| 香蕉高清免费永久在线视频| 国产99精品一区二区三区免费 | a毛片免费播放全部完整| 亚洲综合网美国十次| 亚洲日韩一页精品发布|