锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品国产精品乱码视色,亚洲国产精品久久久久秋霞影院,亚洲日韩中文无码久久http://www.tkk7.com/bnlovebn/category/12156.html銆婂懆鏄撱嬫洶錛?lt;br> 澶╄鍋ワ紝鍚涘瓙浠ヨ嚜寮轟笉鎭?涔懼崷)<br> 鍦板娍鍧わ紝鍚涘瓙浠ュ帤寰瘋澆鐗?鍧ゅ崷) zh-cnTue, 14 Jun 2011 06:18:08 GMTTue, 14 Jun 2011 06:18:08 GMT60欏圭洰涓垚鍔熺殑榪愮敤proxool榪炴帴姹?/title><link>http://www.tkk7.com/bnlovebn/articles/352126.html</link><dc:creator>閲嶅綊鏈瀿錛圔ing錛?/dc:creator><author>閲嶅綊鏈瀿錛圔ing錛?/author><pubDate>Sun, 12 Jun 2011 05:56:00 GMT</pubDate><guid>http://www.tkk7.com/bnlovebn/articles/352126.html</guid><wfw:comment>http://www.tkk7.com/bnlovebn/comments/352126.html</wfw:comment><comments>http://www.tkk7.com/bnlovebn/articles/352126.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bnlovebn/comments/commentRss/352126.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bnlovebn/services/trackbacks/352126.html</trackback:ping><description><![CDATA[鏈榪戝仛鐨勪竴涓」鐩腑榪愮敤鍒頒簡榪炴帴姹犳妧鏈紝鍙兘鎴戜滑澶у姣旇緝鐔熸倝鐨勫紑婧愯繛鎺ユ睜鏈塪bcp,c3p0,proxool銆傚榪欎笁縐嶈繛鎺ユ睜鏉ヨ錛屼粠鎬ц兘鍜屽嚭閿欑巼鏉ヨ錛宲roxool紼嶅井姣斿墠涓ょ濂戒簺銆備粖澶╂垜涓昏綆鍗曠殑璁茶堪涓涓嬶紝鎴戝湪欏圭洰涓垚鍔熺殑閰嶇疆鍜屾簮鐮併?br /><strong>        絎竴姝ワ細棣栧厛鍘?/strong><a ><strong><font color="#333333">http://proxool.sourceforge.net/</font></strong></a><strong><a class="channel_keylink" target="_blank">涓嬭澆</a>涓涓猵roxool.jar鏂囦歡浜嗭紝鎴戠敤鐨勬槸proxool-0.8.3.jar,鐜板湪鏈鏂扮増鏈槸proxool-0.9.3.jar.闄や簡浠栦滑鐨勬煡鐪嬬洃鎺у彴鐨勯〉闈㈡湁鍙樺寲錛屽叾浠栫殑鍙樺寲涓嶆槸澶ぇ銆?/strong><br /><strong>        絎簩姝ワ細灝辨槸鍐欎竴涓崟鐙殑proxool.xml鏂囦歡鏀懼埌WEB-INF鏂囦歡澶逛笅銆傛垜鐢ㄧ殑鏁版嵁搴撴槸MySQL.</strong><br />    peoxool.xml鐨勯厤緗枃浠跺涓嬶細<br />   <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080"> 1</span><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">  </span><span style="color: #0000ff"><?</span><span style="color: #ff00ff">xml version="1.0" encoding="UTF-8"</span><span style="color: #0000ff">?></span><span style="color: #000000"><br /></span><span style="color: #008080"> 2</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">proxool-config</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 3</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">proxool</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 4</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">alias</span><span style="color: #0000ff">></span><span style="color: #000000">db</span><span style="color: #0000ff"></</span><span style="color: #800000">alias</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 5</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">driver-url</span><span style="color: #0000ff">></span><span style="color: #000000">jdbc:mysql://×××.×××.××.×××:3303/mydb</span><span style="color: #0000ff"><</span><span style="color: #800000">driver-url</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 6</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">driver-class</span><span style="color: #0000ff">></span><span style="color: #000000">com.mysql.jdbc.Driver</span><span style="color: #0000ff"></</span><span style="color: #800000">driver-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 7</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">driver-properties</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 8</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">property </span><span style="color: #ff0000">name</span><span style="color: #0000ff">="user"</span><span style="color: #ff0000"> value</span><span style="color: #0000ff">="root"</span><span style="color: #ff0000"> </span><span style="color: #0000ff">/></span><span style="color: #000000"><br /></span><span style="color: #008080"> 9</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">property </span><span style="color: #ff0000">name</span><span style="color: #0000ff">="password"</span><span style="color: #ff0000"> value</span><span style="color: #0000ff">="*******"</span><span style="color: #ff0000"> </span><span style="color: #0000ff">/></span><span style="color: #000000"><br /></span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">driver-properties</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">11</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">house-keeping-sleep-time</span><span style="color: #0000ff">></span><span style="color: #000000">90000</span><span style="color: #0000ff"></</span><span style="color: #800000">house-keeping-sleep-time</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">12</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">maximum-new-connections</span><span style="color: #0000ff">></span><span style="color: #000000">20</span><span style="color: #0000ff"></</span><span style="color: #800000">maximum-new-connections</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">13</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">prototype-count</span><span style="color: #0000ff">></span><span style="color: #000000">5</span><span style="color: #0000ff"></</span><span style="color: #800000">prototype-count</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">14</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">maximum-connection-count</span><span style="color: #0000ff">></span><span style="color: #000000">1000</span><span style="color: #0000ff"></</span><span style="color: #800000">maximum-connection-count</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">15</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">minimum-connection-count</span><span style="color: #0000ff">></span><span style="color: #000000">10</span><span style="color: #0000ff"></</span><span style="color: #800000">minimum-connection-count</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">16</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">proxool</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">17</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">proxool-config</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">18</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div>     瀵逛互涓婇厤緗畝鍗曠殑瑙i噴錛?br />    1.<alias>  錛氫負璇ヨ繛鎺ユ睜璧蜂竴涓埆鍚嶏紝鍦ㄥ叾浠栨枃浠朵腑寮曠敤銆傚紩鐢ㄦ槸錛?proxool.db);<br />    2. <driver-class>com.mysql.jdbc.Driver</driver-class><br />     <driver-properties><br />     <property name="user" value="root" /><br />     <property name="password" value="root" /><br />    </driver-properties><br />    榪欎簺閰嶇疆澶у搴旇姣旇緝鐔熸倝鍚с傞厤緗暟鎹簱鐨勯┍鍔ㄥ拰榪炴帴銆?br />    3.<house-keeping-sleep-time>  錛歱roxool鑷姩渚﹀療鍚勪釜榪炴帴鐘舵佺殑鏃墮棿闂撮殧(姣),渚﹀療鍒扮┖闂茬殑榪炴帴灝遍┈涓婂洖鏀?瓚呮椂鐨勯攢姣併?br />    4.<maximum-new-connections>錛?鎸囧洜鏈湁絀洪棽榪炴帴鍙互鍒嗛厤鑰屽湪闃熷垪涓瓑鍊欑殑鏈澶ц姹傛暟,瓚呰繃榪欎釜璇鋒眰鏁扮殑鐢ㄦ埛榪炴帴灝變笉浼氳鎺ュ彈銆?br />    5.<prototype-count>錛氭渶灝戜繚鎸佺殑絀洪棽榪炴帴鏁般?br />    6.<maximum-connection-count>: 鍏佽鏈澶ц繛鎺ユ暟,瓚呰繃浜嗚繖涓繛鎺ワ紝鍐嶆湁璇鋒眰鏃訛紝灝辨帓鍦ㄩ槦鍒椾腑絳夊欙紝鏈澶х殑絳夊緟璇鋒眰鏁扮敱maximum-new-connections鍐沖畾<br />    7.<minimum-connection-count>:鏈灝忚繛鎺ユ暟 <p><strong>    絎笁姝ワ細鍔犺澆騫跺垵濮嬪寲proxool.xml鏂囦歡銆傚洜涓哄畠鏄繛鎺ユ暟鎹簱鐨勶紝鍏朵粬寰堝妯″潡閮界敤鍒版暟鎹紝鎵浠ヤ綘蹇呴』棣栧厛鍔犺澆瀹冿紝鍦╳eb.xml涓繘琛屽涓嬮厤緗細濡傛灉浣犱互鍓嶅姞杞絘pplicationContext.xml鐢ㄧ殑鏄細</p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080">1</span><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">    </span><span style="color: #0000ff"><</span><span style="color: #800000">listener</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">2</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">listener-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">3</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    org.springframework.web.context.ContextLoaderListener<br /></span><span style="color: #008080">4</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">listener-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">5</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">listener</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">6</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <p></strong><br />    榪欐椂浣犲繀欏繪崲鎴愬涓嬮厤緗細</p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080">1</span><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">2</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000">contextConfigLocation</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">3</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">4</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    org.springframework.web.context.ContextLoaderServlet<br /></span><span style="color: #008080">5</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">6</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">load-on-startup</span><span style="color: #0000ff">></span><span style="color: #000000">2</span><span style="color: #0000ff"></</span><span style="color: #800000">load-on-startup</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">7</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">8</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <p><br />    瑕佷笉鐒朵綘灝變細閬囪榪欐牱鐨勯敊璇細<br />    Problem<br />    org.logicalcobwebs.proxool.ProxoolException: Attempt to refer to a unregistered pool by its<br />    alias 'db'<br />      濡傛灉鐢ㄨ繃proxool涓巗pring鏁村悎鏃訛紝涓嶅皯灝遍亣鍒拌繃榪欐牱鐨勯棶棰橈紝鍏跺疄榪欎釜闂寰堟槑鏄懼氨鏄綘鐨刾roxool.xml娌℃湁琚厛鍔犺澆鍒濆鍖栵紝鎴戜滑搴旇璁╁畠鍏堝姞杞斤紝搴旇榪欐牱閰嶇疆錛?br />  </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080"> 1</span><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">  </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 2</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000">ServletConfigurator</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 3</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 4</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    org.logicalcobwebs.proxool.configuration.ServletConfigurator<br /></span><span style="color: #008080"> 5</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 6</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">init-param</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 7</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">param-name</span><span style="color: #0000ff">></span><span style="color: #000000">xmlFile</span><span style="color: #0000ff"></</span><span style="color: #800000">param-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 8</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">param-value</span><span style="color: #0000ff">></span><span style="color: #000000">WEB-INF/proxool.xml</span><span style="color: #0000ff"></</span><span style="color: #800000">param-value</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 9</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">init-param</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">load-on-startup</span><span style="color: #0000ff">></span><span style="color: #000000">1</span><span style="color: #0000ff"></</span><span style="color: #800000">load-on-startup</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">11</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">12</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <p>    鎶?lt;load-on-startup>鐨勫艱涓?錛屽艱秺灝忕駭鍒氨瓚婇珮錛屽氨鍏堣鍔犺澆鍒濆鍖栥備竴瀹氳鍏堜簬applicationContext.xml鐨勫姞杞姐?br /> 榪欎竴姝ュ緢鍏抽敭錛屼竴瀹氳娉ㄦ剰錛屼笉鐒朵綘灝變細閬囧埌涓婇潰鐨勯棶棰樸傜綉涓婃湁寰堝ぇ浜洪兘閬囪榪囪繖鏍風殑闂錛屽彧瑕佷綘鐢ㄤ簡浣犳墠浼氫綋浼氬埌閭f牱鐨勯敊璇傚鏋滄槸絎竴嬈★紝浣犱細寰堣糠鑼殑錛屾垜絎竴嬈¢厤緗氨鍑虹幇浜嗕笂闈㈢殑闂錛岃鎴戣皟璇曚簡濂藉鏃墮棿鎵嶆壘鍑洪棶棰樻墍鍦ㄣ傚笇鏈涗綘浠笉瑕佸啀鐘繖鏍風殑閿欒銆?br />        濡傛灉浣犳兂鐩戞帶鏁版嵁搴撹繛鎺ユ睜鐨勮繛鎺ユ儏鍐碉紝鍙互綆鍗曠殑閰嶇疆涓涓嬪氨鍙互浜嗭紝鍥犱負澶ч儴鍒嗗姛鑳芥簮鐮佷腑閮藉凡鍐欏ソ錛屾垜浠敤鏄彧闇綆鍗曠殑閰嶇疆銆?br /> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080"> 1</span><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">   </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 2</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000">Admin</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 3</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 4</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    org.logicalcobwebs.proxool.admin.servlet.AdminServlet<br /></span><span style="color: #008080"> 5</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 6</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 7</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 8</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000">Admin</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 9</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000">/admin</span><span style="color: #0000ff"></</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">11</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <p>    濡傛灉璁塊棶鐨勮瘽錛屽彲鑳芥湁鐐歸棶棰橈紝浼氭姤ISO-8859-1鐨勯棶棰樸傛垜浠竴鑸敤鐨勬槸utf-8,gbk2312.鏈濂界殑瑙e喅鍔炴硶灝辨槸閲嶅啓婧愮爜涓殑AdminServlet<br />    .java銆傛垜灝辨槸閲嶅啓浜嗚繖涓簮鐮併傛墠瑙e喅浜嗚繖涓貢鐮侀棶棰樸傚彲鑳借繕鏈夊叾浠栧姙娉曪細鍙渶綆鍗曠殑璇ヤ竴涓柟娉曞氨鍙互浜嗐?br />  </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080"> 1</span><img id="Codehighlighter1_107_634_Open_Image" onclick="this.style.display='none'; Codehighlighter1_107_634_Open_Text.style.display='none'; Codehighlighter1_107_634_Closed_Image.style.display='inline'; Codehighlighter1_107_634_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top"><img id="Codehighlighter1_107_634_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_107_634_Closed_Text.style.display='none'; Codehighlighter1_107_634_Open_Image.style.display='inline'; Codehighlighter1_107_634_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top"><span style="color: #000000">  </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> printDefinitionEntry(ServletOutputStream out, String name, String value) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> IOException </span><span id="Codehighlighter1_107_634_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_107_634_Open_Text"><span style="color: #000000">{<br /></span><span style="color: #008080"> 2</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        out.println(</span><span style="color: #000000">"</span><span style="color: #000000">    <tr></span><span style="color: #000000">"</span><span style="color: #000000">);<br /></span><span style="color: #008080"> 3</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        out.print(</span><span style="color: #000000">"</span><span style="color: #000000">      <td width=\</span><span style="color: #000000">"</span><span style="color: #000000">200</span><span style="color: #000000">\</span><span style="color: #000000">"</span><span style="color: #000000"> valign=\</span><span style="color: #000000">"</span><span style="color: #000000">top\</span><span style="color: #000000">"</span><span style="color: #000000"> style=\</span><span style="color: #000000">""</span><span style="color: #000000"> + STYLE_CAPTION + </span><span style="color: #000000">"</span><span style="color: #000000">\</span><span style="color: #000000">"</span><span style="color: #000000">></span><span style="color: #000000">"</span><span style="color: #000000">);<br /></span><span style="color: #008080"> 4</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        out.print(name);<br /></span><span style="color: #008080"> 5</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        out.println(</span><span style="color: #000000">"</span><span style="color: #000000"></td></span><span style="color: #000000">"</span><span style="color: #000000">);<br /></span><span style="color: #008080"> 6</span><span style="color: #000000"><img id="Codehighlighter1_324_475_Open_Image" onclick="this.style.display='none'; Codehighlighter1_324_475_Open_Text.style.display='none'; Codehighlighter1_324_475_Closed_Image.style.display='inline'; Codehighlighter1_324_475_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_324_475_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_324_475_Closed_Text.style.display='none'; Codehighlighter1_324_475_Open_Image.style.display='inline'; Codehighlighter1_324_475_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">        </span><span style="color: #0000ff">if</span><span style="color: #000000"> (value </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">) </span><span id="Codehighlighter1_324_475_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_324_475_Open_Text"><span style="color: #000000">{<br /></span><span style="color: #008080"> 7</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            out.print(</span><span style="color: #000000">"</span><span style="color: #000000">      <td style=\</span><span style="color: #000000">""</span><span style="color: #000000"> + STYLE_DATA + </span><span style="color: #000000">"</span><span style="color: #000000">\</span><span style="color: #000000">"</span><span style="color: #000000">></span><span style="color: #000000">"</span><span style="color: #000000">);<br /></span><span style="color: #008080"> 8</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            out.print(</span><span style="color: #0000ff">new</span><span style="color: #000000"> String(value.getBytes(</span><span style="color: #000000">"</span><span style="color: #000000">ISO-8859-1</span><span style="color: #000000">"</span><span style="color: #000000">),</span><span style="color: #000000">"</span><span style="color: #000000">utf-8</span><span style="color: #000000">"</span><span style="color: #000000">));<br /></span><span style="color: #008080"> 9</span><span style="color: #000000"><img id="Codehighlighter1_482_566_Open_Image" onclick="this.style.display='none'; Codehighlighter1_482_566_Open_Text.style.display='none'; Codehighlighter1_482_566_Closed_Image.style.display='inline'; Codehighlighter1_482_566_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_482_566_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_482_566_Closed_Text.style.display='none'; Codehighlighter1_482_566_Open_Image.style.display='inline'; Codehighlighter1_482_566_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">        }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span id="Codehighlighter1_482_566_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_482_566_Open_Text"><span style="color: #000000">{<br /></span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            out.print(</span><span style="color: #000000">"</span><span style="color: #000000">      <td style=\</span><span style="color: #000000">""</span><span style="color: #000000"> + STYLE_NO_DATA + </span><span style="color: #000000">"</span><span style="color: #000000">\</span><span style="color: #000000">"</span><span style="color: #000000">>off</span><span style="color: #000000">"</span><span style="color: #000000">);<br /></span><span style="color: #008080">11</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /></span><span style="color: #008080">12</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        out.print(</span><span style="color: #000000">"</span><span style="color: #000000"></td></span><span style="color: #000000">"</span><span style="color: #000000">);<br /></span><span style="color: #008080">13</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        out.println(</span><span style="color: #000000">"</span><span style="color: #000000">    </tr></span><span style="color: #000000">"</span><span style="color: #000000">);<br /></span><span style="color: #008080">14</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /></span><span style="color: #008080">15</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <p>    涓婇潰綰㈣壊鐨勯儴鍒嗗氨鏄垜鏀圭殑閮ㄥ垎,鐒跺悗鎶妛eb.xml涓殑</p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080">1</span><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">2</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    com.jack.servlet.AdminServlet<br /></span><span style="color: #008080">3</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">4</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <p><br />    涓?lt;servlet-class>鎹㈡垚浣犳敼鍐欑殑閭d釜綾匯?br /><strong>    鏈鍚庝竴姝ワ細鏁村悎spring鍜宲roxool銆傚湪applicationContext.xml鏂囦歡涓妸鍘熸潵鏁版嵁婧愮殑閰嶇疆鎴愯繖鏍鳳細</p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080"> 1</span><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">    </span><span style="color: #0000ff"><</span><span style="color: #800000">bean </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="dataSource"</span><span style="color: #ff0000"><br /></span><span style="color: #008080"> 2</span><span style="color: #ff0000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    class</span><span style="color: #0000ff">="org.springframework.jdbc.datasource.DriverManagerDataSource"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 3</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">property </span><span style="color: #ff0000">name</span><span style="color: #0000ff">="driverClassName"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 4</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">value</span><span style="color: #0000ff">></span><span style="color: #000000">org.logicalcobwebs.proxool.ProxoolDriver</span><span style="color: #0000ff"></</span><span style="color: #800000">value</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 5</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">property</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 6</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">property </span><span style="color: #ff0000">name</span><span style="color: #0000ff">="url"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 7</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">value</span><span style="color: #0000ff">></span><span style="color: #000000">proxool.db</span><span style="color: #0000ff"></</span><span style="color: #800000">value</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 8</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">property</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080"> 9</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">bean</span><span style="color: #0000ff">></span><span style="color: #000000"><br /></span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <p></strong><br />    榪欎釜 <property name="url">瑕侀厤緗垚proxool.xml涓殑鍒悕銆傚叾浠栧湴鏂逛笉鐢ㄨ浜嗐備篃鍙互涓巋ibernate鏁村悎銆備笌spring鏁村悎姣旇緝綆鍗曘傛垜閲囩敤鐨勫氨鏄笂闈㈢殑閰嶇疆鏂瑰紡銆?br />    榪欐牱灝遍厤緗畬浜嗭紝寰堟竻鏅幫紝寰堢畝鍗曘傚鏋滄煡鐪嬬洃鎺ф儏鍐電殑璇濓細<br />    <a href="http://www.××××.com/admin"><font color="#333333">http://www.××××.com/admin</font></a>  灝卞彲浠ユ煡鐪嬩簡錛屽鏋滀綘鏄湰鍦?a class="channel_keylink" target="_blank">嫻嬭瘯</a>錛氭敼涓涓嬭礬寰勫氨鍙互浜嗐?br />    涓婇潰鎵璁茶堪鐨勬槸涓涓垚鍔熺殑閰嶇疆錛屽茍鍦ㄩ」鐩腑鎴愬姛鐨勮繍鐢ㄤ簡銆傚笇鏈涘榪炴帴姹犳湁鐖卞ソ鐨勬湅鍙嬫湁鎵甯姪銆?br /></p><img src ="http://www.tkk7.com/bnlovebn/aggbug/352126.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bnlovebn/" target="_blank">閲嶅綊鏈瀿錛圔ing錛?/a> 2011-06-12 13:56 <a href="http://www.tkk7.com/bnlovebn/articles/352126.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦ㄧ戶鎵夸腑鐨勬垚鍛樺彉閲忓ソ鍍忎笉浼氬悜涓嬭漿鍨嬬殑http://www.tkk7.com/bnlovebn/articles/52647.html閲嶅綊鏈瀿錛圔ing錛?/dc:creator>閲嶅綊鏈瀿錛圔ing錛?/author>Wed, 14 Jun 2006 01:42:00 GMThttp://www.tkk7.com/bnlovebn/articles/52647.htmlhttp://www.tkk7.com/bnlovebn/comments/52647.htmlhttp://www.tkk7.com/bnlovebn/articles/52647.html#Feedback1http://www.tkk7.com/bnlovebn/comments/commentRss/52647.htmlhttp://www.tkk7.com/bnlovebn/services/trackbacks/52647.html 聽1 顥ヮ棩 class 聽Component1 {
聽2 顥ヮ棩聽 public 聽Component1( int 聽i) {
聽3 顥ヮ棩聽System.out.println( " Component1 " );
聽4 顥ヮ棩聽}

聽5 顥ヮ棩}

聽6 顥ヮ棩
聽7 顥ヮ棩 class 聽Component2 {
聽8 顥ヮ棩聽 public 聽Component2( int 聽i) {
聽9 顥ヮ棩聽System.out.println( " Compunent2 " );
10 顥ヮ棩聽}

11 顥ヮ棩}

12 顥ヮ棩
13 顥ヮ棩 class 聽Component3 {
14 顥ヮ棩聽 public 聽Component3( int 聽i) {
15 顥ヮ棩聽System.out.println( " Compunent3 " );
16 顥ヮ棩聽}

17 顥ヮ棩}

18 顥ヮ棩
19 顥ヮ棩 class 聽Root {
20 顥ヮ棩聽 private int 聽i;
21 顥ヮ棩聽Component1聽com1 = new 聽Component1(i);
22 顥ヮ棩聽Component2聽com2 = new 聽Component2(i);
23 顥ヮ棩聽Component3聽com3 = new 聽Component3(i);
24 顥ヮ棩聽 public 聽Root( int 聽i) {
25 顥ヮ棩聽 this .i = i;
26 顥ヮ棩聽System.out.println(com1);聽 // (2)
27 顥ヮ棩聽System.out.println( " Root " );
28 顥ヮ棩聽}

29 顥ヮ棩聽 public 聽String聽toString() {聽 return " Root " ;}
30 顥ヮ棩聽 public void 聽print() {System.out.println( " Root " );}
31 顥ヮ棩}

32 顥ヮ棩
33 顥ヮ棩 public class 聽Stem聽 extends 聽Root {
34 顥ヮ棩聽 private int 聽i;
35 顥ヮ棩聽Component1聽com1 = new 聽Component1(i);
36 顥ヮ棩聽Component2聽com2 = new 聽Component2(i);
37 顥ヮ棩聽Component3聽com3 = new 聽Component3(i);
38 顥ヮ棩聽 public 聽Stem( int 聽i) {
39 顥ヮ棩聽 super (i);
40 顥ヮ棩聽 this .i = i;
41 顥ヮ棩聽System.out.println(com1);聽 // (1)
42 顥ヮ棩聽System.out.println( " Stem " );
43 顥ヮ棩聽}

44 顥ヮ棩聽 public 聽String聽toString() {聽 return " Stem " ;}
45 顥ヮ棩聽 public void 聽print() {System.out.println( " Stem " );}
46 顥ヮ棩聽 public static void 聽main(String[]聽args) {
47 顥ヮ棩聽 // Stem聽st=new聽Stem(10);聽 // (1)
48 顥ヮ棩聽Root聽st = new 聽Stem( 10 );聽 // (2)
49 顥ヮ棩聽System.out.println(st.com1); // (1)聽榪欓噷鐨刢om1鏄疭tem涓殑Component1瀵硅薄
50 顥ヮ棩聽 // (2)聽榪欓噷鐨刢om1鏄疪oot涓殑Component1瀵硅薄
51 顥ヮ棩聽
52 顥ヮ棩聽System.out.println(st); // 鍚戜笅杞瀷浜?/span>
53 顥ヮ棩聽st.print(); // 鍚戜笅杞瀷浜?/span>
54 顥ヮ棩聽}

55 顥ヮ棩}

56 顥ヮ棩榪欓噷鍙互鐪嬪嚭錛屽氨st瀵硅薄鐨勭被鍨嬫潵鍙栧緱鐩稿簲綾葷殑鎴愬憳鍙橀噺錛?br />顥ヮ棩濂藉儚鍙湁鍦ㄧ敤鍒版垚鍛樻柟娉曟墠浼氳嚜鍔ㄥ悜涓嬭漿鍨嬶紝鑰屾垚鍛樺彉閲忓嵈涓嶄細錛?img src ="http://www.tkk7.com/bnlovebn/aggbug/52647.html" width = "1" height = "1" />

]]>
涓涓狫ProgressBar鐨勭畝鍗曚緥瀛?/title><link>http://www.tkk7.com/bnlovebn/articles/40276.html</link><dc:creator>閲嶅綊鏈瀿錛圔ing錛?/dc:creator><author>閲嶅綊鏈瀿錛圔ing錛?/author><pubDate>Mon, 10 Apr 2006 09:25:00 GMT</pubDate><guid>http://www.tkk7.com/bnlovebn/articles/40276.html</guid><wfw:comment>http://www.tkk7.com/bnlovebn/comments/40276.html</wfw:comment><comments>http://www.tkk7.com/bnlovebn/articles/40276.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/bnlovebn/comments/commentRss/40276.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bnlovebn/services/trackbacks/40276.html</trackback:ping><description><![CDATA[     鎽樿: 1 import 聽javax.swing. * ; 聽2 import 聽java.awt. * ; 聽3 ...  <a href='http://www.tkk7.com/bnlovebn/articles/40276.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/bnlovebn/aggbug/40276.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bnlovebn/" target="_blank">閲嶅綊鏈瀿錛圔ing錛?/a> 2006-04-10 17:25 <a href="http://www.tkk7.com/bnlovebn/articles/40276.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://yy9977.com" target="_blank">插鸡网站在线播放免费观看</a>| <a href="http://zs0451.com" target="_blank">99视频在线免费观看</a>| <a href="http://445848.com" target="_blank">毛片免费vip会员在线看</a>| <a href="http://35xyz.com" target="_blank">亚洲欧洲日韩不卡</a>| <a href="http://2886868.com" target="_blank">一级毛片在线观看免费</a>| <a href="http://2002tw.com" target="_blank">蜜芽亚洲av无码精品色午夜</a>| <a href="http://6609929.com" target="_blank">久9这里精品免费视频</a>| <a href="http://zs0451.com" target="_blank">亚洲精品中文字幕乱码</a>| <a href="http://gdjiayou.com" target="_blank">免费毛片a在线观看67194</a>| <a href="http://wwkk3.com" target="_blank">日本亚洲免费无线码</a>| <a href="http://15nw.com" target="_blank">日韩精品视频免费观看</a>| <a href="http://www66913.com" target="_blank">猫咪www免费人成网站</a>| <a href="http://jkc178.com" target="_blank">亚洲日韩在线观看</a>| <a href="http://1880531.com" target="_blank">精品一卡2卡三卡4卡免费视频</a>| <a href="http://www-774220.com" target="_blank">亚洲国产另类久久久精品</a>| <a href="http://sds54.com" target="_blank">午夜视频在线免费观看</a>| <a href="http://vcnxa.com" target="_blank">国产精品亚洲综合五月天</a>| <a href="http://952268.com" target="_blank">韩国二级毛片免费播放</a>| <a href="http://yy1288.com" target="_blank">日韩在线观看免费</a>| <a href="http://doubaye.com" target="_blank">久久精品视频亚洲</a>| <a href="http://rseav.com" target="_blank">97在线线免费观看视频在线观看</a>| <a href="http://www6661126.com" target="_blank">亚洲第一街区偷拍街拍</a>| <a href="http://nmcytsi.com" target="_blank">日韩一卡2卡3卡4卡新区亚洲</a>| <a href="http://276194.com" target="_blank">久久免费线看线看</a>| <a href="http://044242.com" target="_blank">精品国产成人亚洲午夜福利</a>| <a href="http://miliwo.com" target="_blank">国产精品视_精品国产免费</a>| <a href="http://ccccccx.com" target="_blank">你懂得的在线观看免费视频</a>| <a href="http://yiqigxfc.com" target="_blank">亚洲精品偷拍无码不卡av</a>| <a href="http://caita88.com" target="_blank">日本a级片免费看</a>| <a href="http://www-993789.com" target="_blank">99久久99这里只有免费的精品</a>| <a href="http://xianzznn.com" target="_blank">久久亚洲AV无码精品色午夜 </a>| <a href="http://kutuwo.com" target="_blank">亚洲中文字幕精品久久</a>| <a href="http://fholaer.com" target="_blank">国产精品免费看久久久无码</a>| <a href="http://hbjpxnyqckj.com" target="_blank">好男人资源在线WWW免费</a>| <a href="http://wwwby1385.com" target="_blank">亚洲精品午夜在线观看</a>| <a href="http://www09191z.com" target="_blank">免费看国产一级片</a>| <a href="http://118762.com" target="_blank">精品无码AV无码免费专区</a>| <a href="http://qsqse1.com" target="_blank">国产亚洲美女精品久久</a>| <a href="http://rr7733.com" target="_blank">亚洲国产精品久久久久</a>| <a href="http://gzqhit.com" target="_blank">四虎永久免费地址在线网站</a>| <a href="http://600c28.com" target="_blank">久久w5ww成w人免费</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>