锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品和日本精品,亚洲中文字幕无码久久精品1,日韩精品电影一区亚洲http://www.tkk7.com/piliskys/zh-cnMon, 12 May 2025 11:33:59 GMTMon, 12 May 2025 11:33:59 GMT60oracle涓璼ubstr鐨勯棶棰?http://www.tkk7.com/piliskys/archive/2006/09/20/70831.html闇歸洺鐏?/dc:creator>闇歸洺鐏?/author>Wed, 20 Sep 2006 08:20:00 GMThttp://www.tkk7.com/piliskys/archive/2006/09/20/70831.htmlhttp://www.tkk7.com/piliskys/comments/70831.htmlhttp://www.tkk7.com/piliskys/archive/2006/09/20/70831.html#Feedback0http://www.tkk7.com/piliskys/comments/commentRss/70831.htmlhttp://www.tkk7.com/piliskys/services/trackbacks/70831.htmlSELECT聽a.TAXPAYERID聽TAXPAYERID$0,聽a.INDEPOTYEAR聽INDEPOTYEAR$2,聽
SUM(a.TAXFINAL)聽SUMTAXFINAL$1
FROM聽F_LVY_LEVYINPUTYEARHISTORYDATA聽a聽
WHERE聽substr聽(聽a.TAXPAYERID聽,1聽,聽1聽)聽'T'and聽a.indepotyear='2006'GROUPBY聽a.TAXPAYERID,聽a.INDEPOTYEAR聽havingSUM(a.TAXFINAL)聽>=1000000絎竴嬈¤繍琛屼駭鐢?357鏉¤褰曪紝鐒跺悗鎺ョ潃榪愯灝卞彉涓?359錛堟涓烘紜暟錛夛紝鍒扮綉涓婃壘浜嗕笅錛屾病鏈夋壘鍒板師鍥狅紝 鏈鍚庢妸substr ( a.TAXPAYERID ,1 , 1 ) 'T' 鏀逛負 a.TAXPAYERID not like 'T%'娌℃湁闂錛屾妸涓婇潰sql鏀逛負
SELECT聽a.TAXPAYERID聽TAXPAYERID$0,聽a.INDEPOTYEAR聽INDEPOTYEAR$2,聽SUM(a.TAXFINAL)聽SUMTAXFINAL$1FROM聽F_LVY_LEVYINPUTYEARHISTORYDATA聽a聽WHERE聽a.indepotyear='2006'GROUPBY聽a.TAXPAYERID,聽a.INDEPOTYEAR聽havingSUM(a.TAXFINAL)聽>=1000000and聽substr聽(聽a.TAXPAYERID聽,1聽,聽1聽)聽'T'
涔熸病鏈夐棶棰橈紝 鑰屾墍鏈夎褰曚腑substr ( a.TAXPAYERID ,1 , 1 )鍙湁涓夌0,1,T, a.TAXPAYERID娌℃湁涓虹┖鐨勶紝涓嶆竻妤氫負浣曞姝わ紵錛?

]]>
SQL瑙掓湰-寤虹墿鍖栬鍥?/title><link>http://www.tkk7.com/piliskys/archive/2006/09/07/68322.html</link><dc:creator>闇歸洺鐏?/dc:creator><author>闇歸洺鐏?/author><pubDate>Thu, 07 Sep 2006 09:13:00 GMT</pubDate><guid>http://www.tkk7.com/piliskys/archive/2006/09/07/68322.html</guid><wfw:comment>http://www.tkk7.com/piliskys/comments/68322.html</wfw:comment><comments>http://www.tkk7.com/piliskys/archive/2006/09/07/68322.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/piliskys/comments/commentRss/68322.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/piliskys/services/trackbacks/68322.html</trackback:ping><description><![CDATA[ <p>鐩殑錛氬鏌愯〃鍒涘緩鐗╁寲瑙嗗浘鏃訛紝涓嶈姹傚畠鎵鏈夊瓧孌碉紝鍥犳蹇呴』鍒楀嚭瑕佺殑瀛楁錛屼竴涓釜瀛楁COPY涔熸瘮杈冮夯鐑?鍥犳鍐欎竴瑙掓湰<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"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff">select</span> <span style="COLOR: #000000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">create聽聽materialized聽view聽</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #ff00ff">max</span> <span style="COLOR: #000000">(a.table_name)</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #000000">chr(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">10</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">tablespace聽staging聽refresh聽fast聽聽as聽select</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #000000">chr(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">10</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽substr(</span> <span style="COLOR: #ff00ff">max</span> <span style="COLOR: #000000">(sys_connect_by_path(a.column_name</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #000000">chr(</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">10</span> <span style="COLOR: #000000">),</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">,</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">)),</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">2</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">from聽</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #ff00ff">max</span> <span style="COLOR: #000000">(a.table_name)</span> <span style="COLOR: #808080">||</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">@zhengguan聽t;</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #008080">--</span> <span style="COLOR: #008080">榪欓噷鏄疍BLINK</span> <span style="COLOR: #008080"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff">from</span> <span style="COLOR: #000000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />(聽</span> <span style="COLOR: #0000ff">select</span> <span style="COLOR: #000000">聽row_number()聽</span> <span style="COLOR: #0000ff">over</span> <span style="COLOR: #000000">(聽PARTITION聽</span> <span style="COLOR: #0000ff">BY</span> <span style="COLOR: #000000">聽g.table_name聽聽</span> <span style="COLOR: #0000ff">order</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">by</span> <span style="COLOR: #000000">聽g.column_id聽聽)聽聽rn聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽,g.table_name,g.column_name聽聽</span> <span style="COLOR: #0000ff">from</span> <span style="COLOR: #000000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽user_tab_cols聽聽g<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">where</span> <span style="COLOR: #000000">聽g.table_name聽</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #ff0000">TB_LVY_INCREASEDECREASEDATA</span> <span style="COLOR: #ff0000">'</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #008080">--</span> <span style="COLOR: #008080">榪欓噷鏄寤虹殑琛ㄥ悕</span> <span style="COLOR: #008080"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽)聽a<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽start聽</span> <span style="COLOR: #0000ff">with</span> <span style="COLOR: #000000">聽rn</span> <span style="COLOR: #808080">=</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">1</span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽connect聽</span> <span style="COLOR: #0000ff">by</span> <span style="COLOR: #000000">聽聽rn聽</span> <span style="COLOR: #808080">=</span> <span style="COLOR: #000000">聽聽prior聽rn聽</span> <span style="COLOR: #808080">+</span> <span style="FONT-WEIGHT: bold; COLOR: #800000">1</span> </div>榪愮敤錛氬浜庝竴浜涘瓨鍌ㄨ繃紼嬩腑瀵硅〃鐨刬nsert鏃訛紝榪欐牱涔熻鍙噺灝戜簺宸ヤ綔閲忥紝鍙嶆鐏墊椿榪愮敤鍚э紝涓涓鏈篃璁擱氳繃鑷繁鐨勫彉鍖栵紝鍦ㄥ伐浣滀腑鍙互鍚埌涓瀹氱殑浣滅敤銆?img src ="http://www.tkk7.com/piliskys/aggbug/68322.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/piliskys/" target="_blank">闇歸洺鐏?/a> 2006-09-07 17:13 <a href="http://www.tkk7.com/piliskys/archive/2006/09/07/68322.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>struts鐨勮交閲忔灦鏋勶紙鏂版墜鏈夌敤錛?/title><link>http://www.tkk7.com/piliskys/archive/2006/04/18/41568.html</link><dc:creator>闇歸洺鐏?/dc:creator><author>闇歸洺鐏?/author><pubDate>Tue, 18 Apr 2006 01:10:00 GMT</pubDate><guid>http://www.tkk7.com/piliskys/archive/2006/04/18/41568.html</guid><wfw:comment>http://www.tkk7.com/piliskys/comments/41568.html</wfw:comment><comments>http://www.tkk7.com/piliskys/archive/2006/04/18/41568.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/piliskys/comments/commentRss/41568.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/piliskys/services/trackbacks/41568.html</trackback:ping><description><![CDATA[鐢ㄨ繃struts閮芥竻妤氾紝struts鐨勫紑鍙戜竴鑸鍐欎袱涓被錛孎ormBean鍜孉ction綾伙紝閫氬父鎯呭喌涓婣ction鏄繖鏍風殑錛? <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"><img id="Codehighlighter1_41_355_Open_Image" onclick="this.style.display='none'; Codehighlighter1_41_355_Open_Text.style.display='none'; Codehighlighter1_41_355_Closed_Image.style.display='inline'; Codehighlighter1_41_355_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_41_355_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_41_355_Closed_Text.style.display='none'; Codehighlighter1_41_355_Open_Image.style.display='inline'; Codehighlighter1_41_355_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽聽聽</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽XXXAction聽聽</span><span style="COLOR: #0000ff">extends</span><span style="COLOR: #000000">聽Action聽</span><span id="Codehighlighter1_41_355_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" /></span><span id="Codehighlighter1_41_355_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽ActionForward聽execute(ActionMapping聽mapping,聽ActionForm聽form,<br /><img id="Codehighlighter1_224_354_Open_Image" onclick="this.style.display='none'; Codehighlighter1_224_354_Open_Text.style.display='none'; Codehighlighter1_224_354_Closed_Image.style.display='inline'; Codehighlighter1_224_354_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_224_354_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_224_354_Closed_Text.style.display='none'; Codehighlighter1_224_354_Open_Image.style.display='inline'; Codehighlighter1_224_354_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽HttpServletRequest聽request,聽HttpServletResponse聽response)聽</span><span style="COLOR: #0000ff">throws</span><span style="COLOR: #000000">聽Exception聽</span><span id="Codehighlighter1_224_354_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" /></span><span id="Codehighlighter1_224_354_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽XXXXForm聽theform聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(XXXXForm)聽form;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">form鐨勫己鍒惰漿鍨?br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">榪欓噷灝辨槸浣犺澶勭悊鐨勪笟鍔¢昏緫浜喡?/span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽mapping.findForward(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">XXXX</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span></span></div>榪欐槸涓涓狝ction鏈灝戠殑浠g爜浜嗭紝瀹冩病鏈夊鐞嗕換浣曢昏緫錛屽彧鏄竴涓煩杞紝FormBean鐨勮瘽錛屽彧瑕佺戶鎵緼ctionForm錛屼唬鐮佸埌娌℃湁瑙勫畾錛屽埌鏃訛紝鎴戜滑鍙兘浼氭兂錛屾瘡涓狝ction閲岄潰閮藉繀欏誨啓涓婇潰閭d簺浠g爜錛岀儲鍟婏紝榪樻湁鍦ㄦ瘡涓狥ormBean閲屾垜浠竴鑸兘浼氬畾涔変竴浜涘父鐢ㄧ殑灞炴э紝濡俥vent錛屾牴鎹甧vent鐨勫鹼紝鎴戜滑鏉ュ喅瀹氫竴浜涢昏緫鐨勫鐞嗗強欏甸潰鐨勮煩杞紝姣忔瑕佸啓錛屼篃鐑﹀晩銆?br />聽聽 濂斤紝鐑︾殑璇濓紝閭f垜浠寮濮嬪仛鐐逛簨鎯呬簡錛岄鍏堬紝鍐欎竴涓猣ormBean浠g爜濡備笅錛? <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"><img id="Codehighlighter1_40_207_Open_Image" onclick="this.style.display='none'; Codehighlighter1_40_207_Open_Text.style.display='none'; Codehighlighter1_40_207_Closed_Image.style.display='inline'; Codehighlighter1_40_207_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_40_207_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_40_207_Closed_Text.style.display='none'; Codehighlighter1_40_207_Open_Image.style.display='inline'; Codehighlighter1_40_207_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽XXXForm聽</span><span style="COLOR: #0000ff">extends</span><span style="COLOR: #000000">聽聽ActionForm</span><span id="Codehighlighter1_40_207_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" /></span><span id="Codehighlighter1_40_207_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">聽String聽event;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">浜嬩歡鍚?/span><span style="COLOR: #008000"><br /><img id="Codehighlighter1_102_130_Open_Image" onclick="this.style.display='none'; Codehighlighter1_102_130_Open_Text.style.display='none'; Codehighlighter1_102_130_Closed_Image.style.display='inline'; Codehighlighter1_102_130_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_102_130_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_102_130_Closed_Text.style.display='none'; Codehighlighter1_102_130_Open_Image.style.display='inline'; Codehighlighter1_102_130_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽String聽getEvent()聽</span><span id="Codehighlighter1_102_130_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" /></span><span id="Codehighlighter1_102_130_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽event;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_171_205_Open_Image" onclick="this.style.display='none'; Codehighlighter1_171_205_Open_Text.style.display='none'; Codehighlighter1_171_205_Closed_Image.style.display='inline'; Codehighlighter1_171_205_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_171_205_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_171_205_Closed_Text.style.display='none'; Codehighlighter1_171_205_Open_Image.style.display='inline'; Codehighlighter1_171_205_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">聽setEvent(String聽event)聽</span><span id="Codehighlighter1_171_205_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" /></span><span id="Codehighlighter1_171_205_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">.event聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽event;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div>鎴戞兂榪欒皝閮藉簲璇ユ竻妤氾紝鐒跺悗鎴戜滑鍐嶅啓frombean鏃訛紝灝變笉瑕乪xtends聽 ActionForm,鑰屾槸extends聽 XXXForm浜嗭紝榪欐牱錛屾垜浠渷浜嗕簺浠g爜錛屾垜浠啀鏉ョ湅Action錛屼篃榪欐牱璇曡瘯錛? <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"><img id="Codehighlighter1_48_475_Open_Image" onclick="this.style.display='none'; Codehighlighter1_48_475_Open_Text.style.display='none'; Codehighlighter1_48_475_Closed_Image.style.display='inline'; Codehighlighter1_48_475_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_48_475_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_48_475_Closed_Text.style.display='none'; Codehighlighter1_48_475_Open_Image.style.display='inline'; Codehighlighter1_48_475_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">abstract</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽XXXAction聽聽</span><span style="COLOR: #0000ff">extends</span><span style="COLOR: #000000">聽Action聽</span><span id="Codehighlighter1_48_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" /></span><span id="Codehighlighter1_48_475_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽ActionForward聽execute(ActionMapping聽mapping,聽ActionForm聽form,<br /><img id="Codehighlighter1_227_329_Open_Image" onclick="this.style.display='none'; Codehighlighter1_227_329_Open_Text.style.display='none'; Codehighlighter1_227_329_Closed_Image.style.display='inline'; Codehighlighter1_227_329_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_227_329_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_227_329_Closed_Text.style.display='none'; Codehighlighter1_227_329_Open_Image.style.display='inline'; Codehighlighter1_227_329_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽HttpServletRequest聽request,聽HttpServletResponse聽response)聽</span><span style="COLOR: #0000ff">throws</span><span style="COLOR: #000000">聽Exception聽</span><span id="Codehighlighter1_227_329_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" /></span><span id="Codehighlighter1_227_329_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽XXXForm聽theform聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(XXXForm)聽form;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽mapping.findForward(doAction(theform));<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_336_417_Open_Image" onclick="this.style.display='none'; Codehighlighter1_336_417_Open_Text.style.display='none'; Codehighlighter1_336_417_Closed_Image.style.display='inline'; Codehighlighter1_336_417_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_336_417_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_336_417_Closed_Text.style.display='none'; Codehighlighter1_336_417_Open_Image.style.display='inline'; Codehighlighter1_336_417_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽</span><span id="Codehighlighter1_336_417_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">/**聽*/</span><span id="Codehighlighter1_336_417_Open_Text"><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽澶勭悊涓浜涗笟鍔?br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽</span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000">聽form<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽</span><span style="COLOR: #808080">@return</span><span style="COLOR: #008000">聽聽聽聽榪斿洖mapping鎸囧悜鐨勫瓧絎︿覆<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽</span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">abstract</span><span style="COLOR: #000000">聽聽String聽doAction(BaseForm聽form);</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鎶借薄</span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" /></span><span style="COLOR: #000000">}</span></span></div>榪欐牱鐨勮瘽錛屾垜浠啀鍐橝ction綾繪椂錛屽氨涓峞xtends Action鑰屾槸extends XXXAction錛屼唬鐮佸氨鍍忥細 <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"><img id="Codehighlighter1_41_200_Open_Image" onclick="this.style.display='none'; Codehighlighter1_41_200_Open_Text.style.display='none'; Codehighlighter1_41_200_Closed_Image.style.display='inline'; Codehighlighter1_41_200_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_41_200_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_41_200_Closed_Text.style.display='none'; Codehighlighter1_41_200_Open_Image.style.display='inline'; Codehighlighter1_41_200_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">***</span><span style="COLOR: #000000">Action聽</span><span style="COLOR: #0000ff">extends</span><span style="COLOR: #000000">聽XXXAction聽</span><span id="Codehighlighter1_41_200_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" /></span><span id="Codehighlighter1_41_200_Open_Text"><span style="COLOR: #000000">{<br /><img id="Codehighlighter1_84_198_Open_Image" onclick="this.style.display='none'; Codehighlighter1_84_198_Open_Text.style.display='none'; Codehighlighter1_84_198_Closed_Image.style.display='inline'; Codehighlighter1_84_198_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_84_198_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_84_198_Closed_Text.style.display='none'; Codehighlighter1_84_198_Open_Image.style.display='inline'; Codehighlighter1_84_198_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽String聽doAction(XXXForm聽form)聽</span><span id="Codehighlighter1_84_198_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" /></span><span id="Codehighlighter1_84_198_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #000000">***</span><span style="COLOR: #000000">Form聽theform聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽(</span><span style="COLOR: #000000">***</span><span style="COLOR: #000000">Form)聽form;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">寮哄埗杞垚浣犵湡姝g殑formbean<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">榪欓噷灝辨槸浣犺澶勭悊鐨勪笟鍔¢昏緫浜喡犅犅?/span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">success</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div><p>灝辨槸浠ヤ笂涓浜涗唬鐮侊紝綆鍗曞浜嗗惂錛宺eturn涓涓瓧絎︿覆灝辮浜嗭紝鎰熻榪樻湁鐐瑰儚webwork浜?鍒版瀹屼簡鍚楋紝鏈夋病</p><p>鏈変粈涔堣繕娌℃湁鍋氬憿錛屽浜嗭紝榪欐牱鐨勮瘽錛屾垜浠畾涔夌殑Action閮芥垚鏃犱細璇濈殑bean浜嗭紝鎵浠equest鏄寰楀埌鐨?/p><p>錛屽緢澶氭儏鍐典笅鐨剈rl鏄?**action.do?id=cctv,鑰屼笖涓鑸槸緋葷粺閮芥槸鎶婄敤鎴風殑淇℃伅鏀懼叆session涓殑錛屾墍浠?/p><p>request鏄己鐑堣姹傝榪樼粰鎴戜滑鐨勶紝濂斤紝閭f垜浠潵閲嶆瀯涓媐ormbean鍜宎ction鍚э紝浠ヤ笅鎴戜滑鐢˙aseForm,鍙?/p><p>BaseAction鏉ュ畾涔夛紝涓や釜綾婚兘鏀懼湪鍚屼竴涓寘涓?/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"><img id="Codehighlighter1_41_704_Open_Image" onclick="this.style.display='none'; Codehighlighter1_41_704_Open_Text.style.display='none'; Codehighlighter1_41_704_Closed_Image.style.display='inline'; Codehighlighter1_41_704_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_41_704_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_41_704_Closed_Text.style.display='none'; Codehighlighter1_41_704_Open_Image.style.display='inline'; Codehighlighter1_41_704_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽BaseForm聽</span><span style="COLOR: #0000ff">extends</span><span style="COLOR: #000000">聽聽ActionForm</span><span id="Codehighlighter1_41_704_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" /></span><span id="Codehighlighter1_41_704_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">聽String聽event;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000">聽HttpServletRequest聽request;<br /><img id="Codehighlighter1_113_222_Open_Image" onclick="this.style.display='none'; Codehighlighter1_113_222_Open_Text.style.display='none'; Codehighlighter1_113_222_Closed_Image.style.display='inline'; Codehighlighter1_113_222_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_113_222_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_113_222_Closed_Text.style.display='none'; Codehighlighter1_113_222_Open_Image.style.display='inline'; Codehighlighter1_113_222_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span id="Codehighlighter1_113_222_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">/**聽*/</span><span id="Codehighlighter1_113_222_Open_Text"><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽娉細榪欎釜鏄緱鍒扮敤鎴蜂俊鎭紝榪欎釜鍙槸涓涓緥瀛愶紝涔熷彲涓嶅疄鐜幫紝鐢眗equest寰楀埌session錛屽啀寰楀埌<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />user,<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽浣唕eguser瀛楃涓插涓鑸紑鍙戜漢鍛樺彲鑳芥槸涓嶅彲瑙佺殑<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽</span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_250_331_Open_Image" onclick="this.style.display='none'; Codehighlighter1_250_331_Open_Text.style.display='none'; Codehighlighter1_250_331_Closed_Image.style.display='inline'; Codehighlighter1_250_331_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_250_331_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_250_331_Closed_Text.style.display='none'; Codehighlighter1_250_331_Open_Image.style.display='inline'; Codehighlighter1_250_331_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽User聽getUser()聽</span><span id="Codehighlighter1_250_331_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" /></span><span id="Codehighlighter1_250_331_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽聽聽(User)聽getRequest().getSession().getAttribute(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">reguser</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_376_406_Open_Image" onclick="this.style.display='none'; Codehighlighter1_376_406_Open_Text.style.display='none'; Codehighlighter1_376_406_Closed_Image.style.display='inline'; Codehighlighter1_376_406_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_376_406_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_376_406_Closed_Text.style.display='none'; Codehighlighter1_376_406_Open_Image.style.display='inline'; Codehighlighter1_376_406_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽HttpServletRequest聽getRequest()聽</span><span id="Codehighlighter1_376_406_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" /></span><span id="Codehighlighter1_376_406_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽request;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_412_470_Open_Image" onclick="this.style.display='none'; Codehighlighter1_412_470_Open_Text.style.display='none'; Codehighlighter1_412_470_Closed_Image.style.display='inline'; Codehighlighter1_412_470_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_412_470_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_412_470_Closed_Text.style.display='none'; Codehighlighter1_412_470_Open_Image.style.display='inline'; Codehighlighter1_412_470_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span id="Codehighlighter1_412_470_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">/**聽*/</span><span id="Codehighlighter1_412_470_Open_Text"><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽娉細榪欓噷鐢ㄧ殑protected錛岃繖鏍峰彲浠ュ氨鍚屼竴鍖呯殑綾誨彲璋冪敤錛屽叾瀹冪被鏄笉鍙鐨?br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽</span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_530_568_Open_Image" onclick="this.style.display='none'; Codehighlighter1_530_568_Open_Text.style.display='none'; Codehighlighter1_530_568_Closed_Image.style.display='inline'; Codehighlighter1_530_568_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_530_568_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_530_568_Closed_Text.style.display='none'; Codehighlighter1_530_568_Open_Image.style.display='inline'; Codehighlighter1_530_568_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">protected</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">聽setRequest(HttpServletRequest聽request)聽</span><span id="Codehighlighter1_530_568_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" /></span><span id="Codehighlighter1_530_568_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">.request聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽request;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_599_627_Open_Image" onclick="this.style.display='none'; Codehighlighter1_599_627_Open_Text.style.display='none'; Codehighlighter1_599_627_Closed_Image.style.display='inline'; Codehighlighter1_599_627_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_599_627_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_599_627_Closed_Text.style.display='none'; Codehighlighter1_599_627_Open_Image.style.display='inline'; Codehighlighter1_599_627_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽String聽getEvent()聽</span><span id="Codehighlighter1_599_627_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" /></span><span id="Codehighlighter1_599_627_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽event;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_668_702_Open_Image" onclick="this.style.display='none'; Codehighlighter1_668_702_Open_Text.style.display='none'; Codehighlighter1_668_702_Closed_Image.style.display='inline'; Codehighlighter1_668_702_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_668_702_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_668_702_Closed_Text.style.display='none'; Codehighlighter1_668_702_Open_Image.style.display='inline'; Codehighlighter1_668_702_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">聽setEvent(String聽event)聽</span><span id="Codehighlighter1_668_702_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" /></span><span id="Codehighlighter1_668_702_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">this</span><span style="COLOR: #000000">.event聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽event;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div>BaseAction浠g爜錛?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"><img id="Codehighlighter1_49_523_Open_Image" onclick="this.style.display='none'; Codehighlighter1_49_523_Open_Text.style.display='none'; Codehighlighter1_49_523_Closed_Image.style.display='inline'; Codehighlighter1_49_523_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_49_523_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_49_523_Closed_Text.style.display='none'; Codehighlighter1_49_523_Open_Image.style.display='inline'; Codehighlighter1_49_523_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">abstract</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽BaseAction聽聽</span><span style="COLOR: #0000ff">extends</span><span style="COLOR: #000000">聽Action聽</span><span id="Codehighlighter1_49_523_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" /></span><span id="Codehighlighter1_49_523_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽ActionForward聽execute(ActionMapping聽mapping,聽ActionForm聽form,<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽HttpServletRequest聽request,聽HttpServletResponse聽response)聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img id="Codehighlighter1_234_381_Open_Image" onclick="this.style.display='none'; Codehighlighter1_234_381_Open_Text.style.display='none'; Codehighlighter1_234_381_Closed_Image.style.display='inline'; Codehighlighter1_234_381_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_234_381_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_234_381_Closed_Text.style.display='none'; Codehighlighter1_234_381_Open_Image.style.display='inline'; Codehighlighter1_234_381_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /></span><span style="COLOR: #0000ff">throws</span><span style="COLOR: #000000">聽Exception聽</span><span id="Codehighlighter1_234_381_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" /></span><span id="Codehighlighter1_234_381_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽BaseForm聽theform聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(BaseForm)聽form;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽theform.setRequest(request);</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鍔犱簡榪欏彞</span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽mapping.findForward(doAction(theform));<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img id="Codehighlighter1_388_469_Open_Image" onclick="this.style.display='none'; Codehighlighter1_388_469_Open_Text.style.display='none'; Codehighlighter1_388_469_Closed_Image.style.display='inline'; Codehighlighter1_388_469_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_388_469_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_388_469_Closed_Text.style.display='none'; Codehighlighter1_388_469_Open_Image.style.display='inline'; Codehighlighter1_388_469_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽</span><span id="Codehighlighter1_388_469_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">/**聽*/</span><span id="Codehighlighter1_388_469_Open_Text"><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽澶勭悊涓浜涗笟鍔?br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽</span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000">聽form<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽*聽</span><span style="COLOR: #808080">@return</span><span style="COLOR: #008000">聽聽聽聽榪斿洖mapping鎸囧悜鐨勫瓧絎︿覆<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽</span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">abstract</span><span style="COLOR: #000000">聽聽String聽doAction(BaseForm聽form);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div><p>鍒版綆椾負緇撴潫錛屽彲鑳芥湁涓轟細闂紝閭h繕鏈塺esponse鍛紝response鐨勮瘽錛屼竴鑸嚭鐜板湪鍐呴儴璺寵漿絳夋儏鍐碉紝鎰熻鐢?/p><p>鐨勬瘮杈冨皯錛屾墍浠ュ湪姝ゅ氨涓嶆妸瀹冪粰澶у浜嗭紝濡傝寰椾竴瀹氳寰楀埌鐨勮瘽錛岄偅灝辮窡request涓鏍瘋繘琛岃緗惂錛屼笉榪?/p><p>涓囦簨閮藉簲璇ユ湁涓害錛岃嚜宸辮 閲忋?br /></p><img src ="http://www.tkk7.com/piliskys/aggbug/41568.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/piliskys/" target="_blank">闇歸洺鐏?/a> 2006-04-18 09:10 <a href="http://www.tkk7.com/piliskys/archive/2006/04/18/41568.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Jbdc鍔╂墜-鏁版嵁搴撴搷浣滈潰鍚戝璞$殑瀹炵幇(oracle)http://www.tkk7.com/piliskys/archive/2006/03/29/38031.html闇歸洺鐏?/dc:creator>闇歸洺鐏?/author>Wed, 29 Mar 2006 05:43:00 GMThttp://www.tkk7.com/piliskys/archive/2006/03/29/38031.htmlhttp://www.tkk7.com/piliskys/comments/38031.htmlhttp://www.tkk7.com/piliskys/archive/2006/03/29/38031.html#Feedback8http://www.tkk7.com/piliskys/comments/commentRss/38031.htmlhttp://www.tkk7.com/piliskys/services/trackbacks/38031.html鍓嶈█錛?br />濡傛灉浣犲hibernate涓嶆槸閭f牱鐨勬帹宕囷紝浣嗘劅瑙塲dbc鐨剆qlr鎿嶄綔鍙堜笉鏄偅涔圤O鐨勮瘽錛岄偅涔堣繖綃囨枃绔犲彲鑳界粰鑳藉甫鏉ユ垨澶氭垨灝戠殑鏈熸湜鈥?br />鍦ㄥ緢闀跨殑涓孌墊椂闂撮噷錛屼腑鎬繪劅瑙夊簲璇ュsql鐨勬搷浣滄潵瀹炵幇涓縐嶉泦鎴愬寲錛岃繖縐嶆兂娉曞彲鑳芥槸鏉ユ簮浜巋ibernate鎿嶄綔鐨勬濈淮鍚э紝褰撴椂澶磋剳涓湁涓浜涙兂娉曪細
1錛屄犳渶澶х▼搴︾殑璁╃紪紼嬭呭鏁版嵁搴撴搷浣滃疄鐜伴潰鍚戝璞℃搷浣滐紝錛堟墍鏈夌殑涓浜涘熀鏈搷浣滐紝紼嬪簭鍛樺彲浠ヤ笉鐢ㄥ幓璁頒綇琛ㄧ殑瀛楁鍚嶏紝瀹屽叏瀵硅薄鍖栵紝濡傛彃鍊鹼紝鍒犲鹼紝鍍廻ibernate涓鏍鋒煡鍑哄澶氬拰瀵逛竴鐨勭粨鏋滐紝鎶婄粨鏋滀篃瀵硅薄鍖栵紝涓浜涗笉鑳藉疄鐜扮殑淇濈暀sql鎿嶄綔錛岋級
2錛屄犳渶澶х▼搴﹁sql璇彞閲嶇敤錛屾彁楂樻暟鎹簱鐨勬晥鐜囷紙鍒╃敤紼嬪簭瀵逛竴浜涙搷浣渟ql鐨勯泦鎴愶紝淇濊瘉鐩稿悓鎿嶄綔sql鐨勪竴鑷存э級
3錛屄犳搷浣滆綆鍗曪紝瀹規槗涓庨」鐩泦鎴愶紝閫氱敤錛堢害鏉熷皯錛?br />瀵逛簬褰撴椂錛屽ご鑴戜腑鍙槸鏈夎繖浜涙湨鑳х殑瀹氫箟錛岃屽浜庤瀹炵幇浣曠鏂規硶錛屾庢牱鎶婂瀵硅薄鎿嶄綔鏉ュ疄鐜皊ql鐨勬嫾鎺ワ紙榪欓噷灝辨槸涓涓弽鐨勮繃紼嬶級錛屽績閲屾病搴曪紝浣嗚兘澶熷疄鐜幫紙鍙槸鍔熻兘鐨勫己寮遍棶棰橈級榪欎竴鐐瑰緢娓呮錛屽叾瀹炲綋鏃舵繪槸鑰冭檻瀹炵幇鍚庢槸鍚︽湁鍏朵環鍊鹼紝鏄惁瀵圭紪紼嬭呮湁鎵甯姪錛岃繖涓槸鎴戜竴鐩存病鏈夋娊鏃墮棿鍋氱殑涓昏鍘熷洜銆?br />姝i錛?br />閫氳繃榪欏嚑澶╃殑涓浜涚┖浣欐椂闂達紝綆楀畬鎴愪簡榪欎釜涓滆タ錛屼笉綆″畠鏄惁鏈夌敤錛屽彧褰撴槸鑷繁涓嬈$粌涔狅紝鐜板湪鎶婁竴浜涘疄鐜板強璋冪敤鐨勬柟娉曚綔涓畝浠嬶細
姝ゅ伐鍏瘋嚜鍔ㄧ敓鎴愪袱縐嶆枃浠秜o涓巇ao錛?br />鍊煎璞★紙VO錛夛紝姣忎竴涓〃瀵瑰簲涓涓獀o錛?br />vo涓庢櫘閫氱殑javabean鏂規硶鐩稿悓錛屾湁get鍜宻et鏂規硶錛岃嫢琛ˋ鐨勪富閿綔涓鴻〃B鐨勫閿紝閭d箞姝o鏈塯et B琛ㄧ殑涓涓猯ist錛坱o-many錛?濡傛灉琛ˋ涓紩鐢ㄤ簡B 琛ㄧ殑涓婚敭浣滀負澶栭敭錛岄偅涔堝畠鏈塯et B 琛ㄧ殑涓涓獀o,錛坱o-one錛?br />鏁版嵁璁塊棶瀵硅薄錛圖AO錛夛紝姝ゆ枃浠跺緙栫▼鑰呮槸閫忔槑鐨勶紝鍙互涓嶄綔浜嗚В錛屼富瑕佹槸涓浜涜闂暟鎹殑鏂規硶錛岀敱鍏敤鎺ュ彛璋冪敤銆?br />棣栧厛鍦ㄤ綘鐨勭▼搴忎腑璋冪敤鎺ュ彛鐨勫疄鐜?br />DataStore ds聽 =聽聽聽聽 com.piliskys.dataStore.DataManager.getInstance();
棣栧厛鐢蟲槑姝ゅ彞騫舵湭寰楀埌鏁版嵁搴撶殑鑱旀帴錛岃屾槸褰撴搷浣滄椂鎵嶅緱鍒版暟鎹簱鑱旀帴鐨勶紝鑰屼笖鍦ㄥ悓涓嬈′細璇濅腑錛屾鑱旀帴鏄浉鍚岀殑錛屽叿浣撳彲鐪婥onnectionUtil姝ょ被錛屾綾誨彲浠ュ鏁板姟榪涜璁劇疆錛?br />鍦ㄦ鎺ュ彛涓紝娌℃湁瀹氫箟鎻愰珮鍜屽洖婊氭搷浣滐紝鍥犱負榪欎簺鎿嶄綔閮藉彲瀹氫箟鍦ㄥ紑鍙戞鏋朵腑錛屾甯哥粨鏉熷氨鎻愪氦錛屾崟鑾峰紓甯稿氨鍥炴粴錛?br />榪欎袱鎿嶄綔鍙洿鎺ヨ皟ConnectionUtil.currentConnection("piliskys")鐨勬搷浣滐紝
閭d箞鎴戜滑寮濮嬩粙緇嶅畠鐨勫悇涓柟娉曪紝鍦ㄦ涓轟竴涓猼b_person琛ㄤ負渚嬶細
tb_person(per_name varchar2,per_age number), per_name 涓轟富閿?br />聽 1錛屄?public聽 boolean delete(Object obj)
聽 鍒犻櫎鍗曚釜vo錛岄渶瑕佽緗富閿?
紼嬪簭錛氬垹涓涓彨 灝忔潕 鐨勮褰?br />DataStore ds聽 = com.piliskys.dataStore.DataManager.getInstance();//榪欓噷鏄病鏈夎窡鏁版嵁搴?br />聽聽聽聽聽聽聽聽聽 ds.delete(new TbPerson("灝忔潕"));//鏈変富閿殑琛ㄩ兘鏈夋鏋勯犳柟娉?br />聽聽聽 ConnectionUtil.currentConnection("piliskys").commit;
----------------------------------------------
灝辮繖涔堢畝鍗?浠ヤ笅璋冪敤DataStore 鍜屾彁浜ょ暐

聽 2錛屄?public聽 int deleteByVO(Object obj)//榪斿洖鍒犻櫎鐨勮褰曟暟
娉細濡傛灉鏈obj璁劇疆浠諱綍鏉′歡灝嗕笉浼氳繘琛屽垹闄ゆ搷浣滐紙鍥犱負涓漢璁や負榪欎竴鑸槸涓嶅彲鑳界殑錛屾瘮杈冨嵄闄╋紝鎵浠ュ姞浠ユ帶鍒訛級
紼嬪簭錛氬垹闄ゅ聽 鏉?鐨勮褰?br />聽TbPerson tp =new TbPerson();
聽tp.setPerName("鏉?");
聽ds.deleteByVO(tp);
----------------------------------------------
紼嬪簭錛氬垹闄ゅ勾榫勫ぇ浜庣瓑浜?19宀佺殑璁板綍
聽 TbPerson tp =new TbPerson();
聽tp.setPerAge(new Long(19),">=");//鎵鏈夊弻鍙傛暟鏂規硶閮芥槸涓轟竴浜涙潯浠墮夋嫨鑰岀敤錛屽悗闈竴鍙傛暟鏄敤鏉ヨ鎿嶄綔絎︾殑 > < >= <= !=,榪欎簺錛屾柟渚垮惂
聽ds.deleteByVO(tp);
----------------------------------------------
紼嬪簭錛氬垹闄ゅ勾榫勪負絀虹殑璁板綍
聽 TbPerson tp =new TbPerson();
聽 tp.setPerAge(null);
聽 ds.deleteByVO(tp);
----------------------------------------------
聽 3聽 public聽 int update(Object obj)
聽 姝ゆ搷浣滃繀欏誨涓婚敭榪涜璁劇疆錛屽惁鍒欐姤閿欙紝璁劇疆鍏跺畠瀛楁灞炰簬涓烘洿鏂板瓧孌碉紝鍏跺畠瀛楁鏈緗篃浼氭姤閿欙紝璇存槑娌℃湁鍙洿鏂扮殑瀛楁錛?br />紼嬪簭 鐣?br />聽 4聽 public聽 int update(Object src,Object tar)//涓ゅ璞″繀欏誨悓綾?浠h〃鍚屼竴琛?
聽聽 姝ゆ搷浣?浠ュ墠涓瀵硅薄鍋氫負鏉′歡榪涜鎵歸噺鏇存柊鍚庝竴瀵硅薄璁劇疆鐨勫?鏉′歡濡傛槸瀛楃涓插彲璁劇疆甯?錛屾潯浠跺璞′篃鍙姞鎿嶄綔絎︼紝浣跨敤鎵鏈夊弻鍙傛暟璁劇疆閮界浉鍚岋紝鍏跺畠鍙緗畁ull錛屽''瀛楃涓蹭笉澶勭悊
紼嬪簭 鐣?br />聽 5聽 public聽 boolean insert(Object obj)//鏈繘琛岃緗殑瀛楁涓簄ull
紼嬪簭 鎻掑叆涓涓彨 鍒樺痙鍗?騫撮緞涓?8鐨勮褰?br />聽聽聽 TbPerson tp =new TbPerson();
聽聽聽 pt.setPerName("鍒樺痙鍗?);
聽聽聽 pt.setPerAge(new Long(38));//age涓篖ong鍨嬬殑璇?br />聽聽聽 ds.insert(pt);
----------------------------------------------
紼嬪簭 鎻掑叆涓涓彨 緗楁嬁澶?鐨勶紝騫撮緞鏈煡
聽聽聽 TbPerson tp =new TbPerson();
聽聽聽 pt.setPerName("緗楁嬁澶?);
聽聽聽 ds.insert(pt);
----------------------------------------------
聽6聽聽 public聽 List selectAll(Class class1)
榪斿洖鎵鏈夎褰曪紙浣嗘澶勪負鑰冭檻紼嬪簭鐨勬晥鐜囷紝璁劇疆浜嗕竴涓渶澶ф暟錛屽彲鍙傜湅鍘熸枃浠朵腑瀹氫箟鐨凪AX_SIZE鍙繘琛屾洿鏀癸紝
紼嬪簭 鏌ュ嚭鎵鏈塼b_person琛ㄧ殑璁板綍
聽聽聽聽 List list = ds.selectAll(TbPerson.class);//涔熺畝鍗曞惂
-----------------------------------------------
聽7聽聽 public聽 void selectByPK(Object obj)
聽鏍規嵁涓婚敭鏌ユ壘璁板綍 錛岃繖涓槸鏃犺繑鍥炲肩殑錛岃繑鍥炵殑灝辨槸鏈韓鐨勮繖涓猳bj錛屼負浜嗙渷鐐瑰唴瀛橈紝涓嶇敤澶歯ew涓涓璞★紝鑰屼笖瀹炵幇鐨勮瘽涓婚敭宸茬粡璁懼ソ錛屽彧瑕佽鍏跺畠瀛楁錛岃屼笖涓漢璁や負榪欐牱鏇村ソ鐢紝濡傛灉涓涓〃鏃犱富閿紝閭d箞鏌ュ嚭鏉ョ殑灝辨槸鏁版嵁搴撶殑絎竴鏉¤褰曪紝鍒╃敤 rownum=1瀹炵幇錛岃屼笉鏄煡鍑虹殑絎竴鏉★紝鏈澶х▼搴﹀湴鎻愰珮鏁版嵁搴撶殑鏁堢巼錛?br />紼嬪簭聽 鏌ュ嚭鍚嶅彨 鍒樺痙鍗庣殑璁板綍
聽聽聽聽 TbPerson tp =new TbPerson("鍒樺痙鍗?);
聽聽聽聽 ds.selectByPK(tp);
鐒跺悗 榪欎釜tp灝辨槸涓涓笌鏁版嵁搴撲富閿負鍒樺痙鍗庣殑璁板綍錛屽彲浠ョ敤瀹冧簡
-------------------------------------------------
聽8聽 public聽 List selectByVO(Object obj)
姝ゆ柟娉曡窡涓婇潰鐨刣eleteByVO鐨勪嬌鐢ㄥ熀鏈浉鍚岋紝榪斿洖鍊兼槸vo鐨勪竴涓郴鍒楋紝
鏈変竴鐐逛笉鍚岀殑鏄紝deleteByVO涓嶈緗換浣曟煡璇㈡潯浠跺皢涓嶄細鍋氭搷浣滐紝鑰屾鏂規硶涓嶈緗換浣曟潯浠剁殑璇濆氨浼氭煡鍑烘墍鏈夌殑(涓漢璁や負鏌ヨ鏄棤鍗卞鎬х殑錛岃鏌ュ氨鏌ュ惂)
紼嬪簭 鍙傝?deleteByVO
聽9聽 public聽 List selectByVO(Object obj, int i, int j)
聽 姝ゆ柟娉曟槸涓婁竴鏂規硶鐨勬墿鍏咃紝涓昏鏄敤浜庡垎欏墊搷浣滐紝
紼嬪簭 鏌ュ 鍒?鐨勭11鏉¤褰曞埌20鏉?br />聽聽聽聽聽聽聽 ds.selectByVO(new TbPerson("鍒?"),11,20);//鍛靛懙錛屾劅瑙夎繖鏍鋒湁鐐瑰埆鎵?br />鏈簲璇?TbPerson tp =new TbPerson();
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 tp.setPerName("鍒?");
聽聽聽聽聽聽聽聽 ds.selectByVO(tp,11,20);//鏁堟灉涓鏍鳳紝
--------------------------------------------------
聽10聽 public聽 int sqlExcute(String s, List list)
榪欎釜鏄敤浜庣洿鎺ヨ皟 sql璇彞鐨勬搷浣滐紝涓昏鏄墽琛屼竴浜涙洿鏂幫紝鍒犻櫎鎿嶄綔錛?list灝辨槸鎸夋潯浠墮『搴忚緗殑鍙傛暟闆嗭紝PreparedStatement鐨勬搷浣?br />紼嬪簭 鐣?br />聽 11聽 public List selectBySQL(String s, List list)
榪欎釜鏄敤浜庣洿鎺ヨ皟 sql璇彞鐨勬搷浣滐紝鎵ц鏌ヨ鎿嶄綔錛?list灝辨槸鎸夋潯浠墮『搴忚緗殑鍙傛暟闆嗭紝PreparedStatement鐨勬搷浣?br />return聽 List 鍚玬ap鐨刲ist,key涓哄瓧孌靛叏閮ㄥ皬鍐?br />紼嬪簭 鐣?br />聽12聽 public聽 List selectByQuery(String s, List list)
榪欎釜鏄敤浜庣洿鎺ヨ皟 sql璇彞鐨勬搷浣滐紝鎵ц鏌ヨ鎿嶄綔錛?list灝辨槸鎸夋潯浠墮『搴忚緗殑鍙傛暟闆嗭紝PreparedStatement鐨勬搷浣?br />return聽 List 鍚玬ap鐨刲ist,key涓哄瓧孌靛叏閮ㄥ皬鍐?br />紼嬪簭 鐣?br />聽 13聽 public聽 List selectByQuery(String s, List list,int i,int j)
鍚屼笂錛屼絾涓昏鏄負浜嗗垎欏墊搷浣滐紝
聽聽聽聽聽聽聽 throws DAOException;

聽聽聽 public聽聽 void close()throws SQLException;
鏁版嵁搴撹仈鎺ュ叧闂?br />鍏充簬浜嬬墿鎻愪箟鍙婂洖婊氳浣跨敤ConnectionUtil.currentConnection("piliskys")鐨勬搷浣溿?br />姝ょ▼搴忔敮鎸佸湪鎺у埗鍙版樉紺簊ql璇彞錛屽彲浠ュ湪閰嶅埗鏂囦歡涓緗槸鍚︽樉紺猴紝鍏蜂綋鎿嶄綔鍙傜湅鍖呬腑鐨勮鏄庛?br />========================================================================
褰撶劧涓漢鐨勮兘鍔涙槸鏈夐檺鐨勶紝濡傛灉浣犺涓鴻繕搴旇瀹炵幇浠涔堝姛鑳斤紝紼嬪簭鍝柟闈笉濡備漢鎰忥紝鏈漢鍙槸鎸夌収鑷繁鐨勮鐐癸紝绔欏湪涓涓紪紼嬭呯殑瑙掑害鑰冭檻闂錛屼笉瓚充箣澶勫彲鑳藉緢澶氾紝甯屾湜澶氭彁瑙佹剰鍜屽緩璁紝紼嬪簭鍙槸緇忔湰浜鴻繘琛屾祴璇曪紝鍙兘涓嶆槸寰堝叏闈紝甯屾湜鍏卞悓瀹屽杽銆?br />鍏充簬濡備綍閮ㄧ講浜庣▼搴忥紝鍖呬腑鏈夎鏄庛?br />娉ㄦ剰浜嬮」錛氫笉鏀寔澶嶅悎涓婚敭浣滀負鍏跺畠琛ㄧ殑澶栭敭,涓嬫鏀硅繘鍚с?/p>

鏈鍚庯細璇峰皧閲嶄粬浜烘垚鏋滐紝璋㈣阿鎮ㄧ殑鏀寔錛屾湰浜洪偖綆?a href="mailto:piliskys@itpub.net">piliskys@itpub.net甯屾湜寰楀埌浣犵殑鎰忚鍜屽緩璁?br />========================================================================
姝ゅ涓嬭澆鍘熺▼搴?a href="/Files/piliskys/jdbcutil.rar">http://www.tkk7.com/Files/piliskys/jdbcutil.rar



]]>
鏁版嵁搴撳湪java涓崰鐢ㄨ繃紼嬫潅璋?/title><link>http://www.tkk7.com/piliskys/archive/2006/03/21/36540.html</link><dc:creator>闇歸洺鐏?/dc:creator><author>闇歸洺鐏?/author><pubDate>Tue, 21 Mar 2006 00:45:00 GMT</pubDate><guid>http://www.tkk7.com/piliskys/archive/2006/03/21/36540.html</guid><wfw:comment>http://www.tkk7.com/piliskys/comments/36540.html</wfw:comment><comments>http://www.tkk7.com/piliskys/archive/2006/03/21/36540.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/piliskys/comments/commentRss/36540.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/piliskys/services/trackbacks/36540.html</trackback:ping><description><![CDATA[浼楁墍閮界煡錛屾暟鎹簱浜嬪姟鍙婅仈鎺ュ湪java鎿嶄綔涓槸涓涓槀璐電殑寮閿錛屼竴浜涚▼搴忓強鏁堢巼鐨勪紭鍖栧湪榪欓噷鏈夊緢澶х殑浼樺寲絀洪棿錛屼絾鎰熻鏁版嵁搴撶殑寮鍚叧闂ソ鍍忔病鏈夌粺涓鍜屾渶浼樼殑鏂規錛?br /><img src="http://piliskys.itpub.net/get/8994/10235-1.JPG" /><br />濡備笂鍥?鍋囪AF涓簀ava涓竴嬈′細璇濈殑榪囩▼錛岃宐c鍜宒e琛ㄧずjava涓庢暟鎹簱鎿嶄綔鍗犵敤鐨勮繃紼嬶紙褰撶劧鍦ㄤ細璇濅腑鍙兘瀛樺湪涓嶆涓ゆ鐨勬暟鎹簱鎿嶄綔錛夛紝鐜板湪鍙兘鏈変笅闈㈠嚑縐嶆儏鍐碉細<br />1),鍦ˋ涔嬪墠灝卞紑鍚暟鎹簱鍙婁簨鍔★紝鍦‵涔嬪悗鎻愪氦鎴栧洖婊氫簨鍔″拰鏂紑鏁版嵁搴擄紙榪欏彲鑳藉湪鏈変簺鏋舵瀯涓槸榪欐牱瀹炵幇鐨勶紝鍥犱負浣滀負紼嬪簭鍛樹笉鐢ㄨ冭檻鏁版嵁搴撶殑鑱旀帴鍏抽棴鍙婁簨鍔★紝緇熶竴鐢卞叕鐢ㄧ被瀹屾垚錛夈?br />2),鍦╞涔嬫椂寮鍚湪c涔嬪悗鏂紑錛屽湪d涔嬫椂鍙堝紑鍚紝鍦╡涔嬪悗鏂紑錛岃繖涔熷緢甯歌錛屽吀鍨嬬殑鐢ㄦ椂寮錛岀敤瀹屽氨鏂?br />3),鍦╞涔嬫椂寮鍚紝鍦‵涔嬪悗鏂紑錛屽叾瀹炶繖縐嶆槸璺熺涓縐嶇浉鍚岋紝鍙槸涓縐嶆敼鏃剁艦浜嗭紝鍥犱負鎴戜滑鍙互紜畾鍦ㄤ竴嬈′細璇濅腑絎竴嬈$敤鏁版嵁搴擄紝鏈変漢鍙兘浼氳鍦╡涔嬪悗鏂紑涓嶆槸鏇村ソ錛岃妭鐪佷簡ef榪囩▼鐨勬暟鎹簱鑱旀帴寮閿錛岀悊璁轟笂鏄繖鏍風殑錛屼絾鏄繖鏄仛涓嶅埌鐨勶紝鍥犱負鎴戜滑涓嶇煡閬撶敤浜嗚繖嬈℃暟鎹簱鍚庡湪榪欐浼氳瘽涓氨涓嶄細鍐嶇敤浜嗭紝鎵浠ユ垜浠彧鑳藉湪f鐐圭粨鏉熷悗緇熶竴鏂紑鍙婂鐞嗕簨鍔°?br />4),鍙兘榪樻湁鍏跺畠鐨勬柟妗堟槸鎴戜笉娓呮鐨勩?br />鍥犳錛屾垜浠彲浠ョ湅鍒板湪4鏂規娌℃湁鏄庣‘瀹氫箟涔嬪墠錛屽彧鏈?鍜?鏄彲姣旇緝鐨勶紝瀵逛簬鏁版嵁搴撳崰鏈夌殑鏃墮棿鏉ョ湅錛?鏂規鏄偗瀹氫紭浜?鐨勶紝浣嗘槸鎴戜滑娓呮鏁版嵁搴撶殑寮鍚強鑱旀帴鏈韓涔熸槸涓涓瘮杈冨ぇ鐨勫紑閿錛屽氨鍍忎竴涓數瑙嗘満錛屽寮浜涘彲鑳戒細嫻垂浜涚數錛屼絾濡傛灉鎬繪槸涓寮涓鍏崇殑璇濓紝鐢佃鏈轟篃瀹規槗鍧忋傚瑕佹湁涓涓粺涓鐨勮漿鍖栧弬鑰冩爣鍑嗭細涓嬈″紑閿浠h〃澶氬皯錛岃屽崰鐢ㄧ殑鏃墮棿鍙堜唬琛ㄥ灝戯紝閭d箞鎴戜滑鑲畾鍙互閫夊嚭涓涓渶浼樻柟妗堟潵錛屼絾榪欑湅鏉ユ槸寰堥毦鍋氬埌鐨?鐪嬫潵杞歡鐨勮璁¤繙娌℃湁縐嶇敯鏉ョ殑瀹炲湪鍟?.<br />涓漢鎰熻搴旇閲囧彇絎?縐嶆柟妗堬紝鍥犱負涓浜涢潪鏁版嵁搴撶殑澶勭悊澶氬崐鏄唴瀛樹腑鐨勫鐞嗗強榪愮畻錛屽簲璇ュ緢蹇?浣嗚瘽鏄笉鑳界粷瀵圭殑錛宩ava鐨勪竴浜涙枃浠跺鐞嗗強榪滅▼璋冪敤絳夊彲鑳戒篃寰堟參)銆?br />濡傚湪鏁版嵁搴撹皟鐢ㄦ柟闈㈡湁浣曡瑙o紝鏈涘鎺㈣錛屼互涓婂睘涓漢鎰氳錛屾湜鑳芥姏鐮栧紩鐜夈?img src ="http://www.tkk7.com/piliskys/aggbug/36540.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/piliskys/" target="_blank">闇歸洺鐏?/a> 2006-03-21 08:45 <a href="http://www.tkk7.com/piliskys/archive/2006/03/21/36540.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎵捐煩椹渶鐭礬寰勭殑綆楁硶http://www.tkk7.com/piliskys/archive/2006/03/20/36320.html闇歸洺鐏?/dc:creator>闇歸洺鐏?/author>Mon, 20 Mar 2006 06:36:00 GMThttp://www.tkk7.com/piliskys/archive/2006/03/20/36320.htmlhttp://www.tkk7.com/piliskys/comments/36320.htmlhttp://www.tkk7.com/piliskys/archive/2006/03/20/36320.html#Feedback0http://www.tkk7.com/piliskys/comments/commentRss/36320.htmlhttp://www.tkk7.com/piliskys/services/trackbacks/36320.html浠婂ぉ鍦ㄧ綉涓婄湅鍒頒竴涓獅鎵捐煩椹渶鐭礬寰勭殑綆楁硶} Find shortest way of a Chinese chess horse that jump from (0, 0) to (m, n) in a grid area of m*n, and output the step number and way points. For example, in a grid area of (3 * 2), a horse can jump as (0, 0)->(1, 2)->(2, 0)->(3,2). And step number is 3. 鎰熻鍦ㄤ竴涓猰*n鐨勭煩闃典腑璺寵鑰冭檻杈圭晫闂錛屽湪姝ょ敤java鍐欎簡涓涓嬶紝娌℃湁鑰冭檻杈圭晫錛屼互涓嬬▼搴忓彧鍦ㄦ棤闄愪簩緇翠腑鎴愮珛
浠g爜濡備笅

/**
聽*聽
@author 聽:聽<a聽href="piliskys@163.com">piliskys</a>
聽*聽Date:聽2006-2-22
聽*聽Time:聽13:50:56
聽*聽鎵捐煩椹渶鐭礬寰勭殑綆楁硶
聽*聽
*/

public class 聽HorsePro聽 {
聽聽聽聽
public static void 聽main(String[]聽arg)聽 {
聽聽聽聽聽聽聽聽HorsePosition聽start聽
= new 聽HorsePosition( 0 ,聽 0 );
聽聽聽聽聽聽聽聽HorsePosition聽end聽
= new 聽HorsePosition( 0 , 1 );
聽聽聽聽聽聽聽聽
int 聽index = 0 ;
聽聽聽聽聽聽聽聽
while 聽( true )聽 {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽index
++ ;
聽聽聽聽聽聽聽聽聽聽聽聽HorsePosition聽her聽
= 聽getNext(start,聽end);
聽聽聽聽聽聽聽聽聽聽聽聽
if 聽(her.positionX聽 == 0 && 聽her.positionY聽 == 0 || index == 7 )
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
break ;
聽聽聽聽聽聽聽聽聽聽聽聽start聽
= new 聽HorsePosition(start.positionX聽 + 聽her.positionX,聽start.positionY聽 + 聽her.positionY);
聽聽聽聽聽聽聽聽聽聽聽聽System.out.println(
" 絎琜 " + index + " ]姝?> " + start);
聽聽聽聽聽聽聽聽}

聽聽聽聽}

聽聽聽聽聽聽
/** */ /**
聽聽聽聽聽聽聽*聽浠ヤ笅涓烘瀯閫犱竴涓綅緗被
聽聽聽聽聽聽聽
*/

聽聽聽聽
static class 聽HorsePosition聽 {
聽聽聽聽聽聽聽聽HorsePosition(
int 聽a,聽 int 聽b)聽 {
聽聽聽聽聽聽聽聽聽聽聽聽
this .positionX聽 = 聽a;
聽聽聽聽聽聽聽聽聽聽聽聽
this .positionY聽 = 聽b;
聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽
int 聽positionX;
聽聽聽聽聽聽聽聽
int 聽positionY;
聽聽聽聽聽聽聽聽
public 聽String聽toString()聽 {
聽聽聽聽聽聽聽聽聽聽聽聽
return " [ " + this .positionX聽 + " , " + this .positionY聽 + " ] " ;
聽聽聽聽聽聽聽聽}

聽聽聽聽}


聽聽聽聽
public static 聽HorsePosition聽getNext(HorsePosition聽a,聽HorsePosition聽b)聽 {
聽聽聽聽聽聽聽聽
int 聽x,聽y,聽z;
聽聽聽聽聽聽聽聽x聽
= 聽b.positionX聽 - 聽a.positionX;
聽聽聽聽聽聽聽聽y聽
= 聽b.positionY聽 - 聽a.positionY;
聽聽聽聽聽聽聽聽z聽
= 聽Math.abs(x)聽 + 聽Math.abs(y);
聽聽聽聽聽聽聽聽
if 聽(z聽 >= 3 )聽 {
聽聽聽聽聽聽聽聽聽聽聽聽
if 聽(Math.abs(x)聽 > 聽Math.abs(y))聽 {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
int 聽yy;
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
if 聽(y聽 == 0 )聽聽yy聽 = 1 ;
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
else
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽yy聽
= 聽y聽 / 聽Math.abs(y);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
return 聽( new 聽HorsePosition( 2 * 聽x聽 / 聽Math.abs(x),聽yy));

聽聽聽聽聽聽聽聽聽聽聽聽}
else
聽聽聽聽聽聽聽聽聽聽聽聽
{
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
int 聽xx;
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
if 聽(x聽 == 0 )聽聽xx聽 = 1 ;
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
else
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽xx聽
= 聽x聽 / 聽Math.abs(x);
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
return 聽( new 聽HorsePosition(xx,聽 2 * 聽y聽 / 聽Math.abs(y)));
聽聽聽聽聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽}
else
聽聽聽聽聽聽聽聽聽
if 聽(z聽 == 2 ) {

聽聽聽聽聽聽聽聽聽聽聽聽
if (x == 0 ) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
return 聽聽聽聽 new 聽HorsePosition( 2 ,y / 2 聽);
聽聽聽聽聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽聽聽聽聽
if (y == 0 ) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
return 聽聽聽聽 new 聽HorsePosition(x / 2 , 1 聽);
聽聽聽聽聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽聽聽
if (x * y != 0 ) {
聽聽聽聽聽聽聽聽聽聽聽聽聽
return 聽聽聽聽 new 聽HorsePosition( 2 * x, - y聽);
聽聽聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽聽
else if (z == 1 ) {聽 // 璇存槑z==1鐨勬儏鍐典簡
聽聽聽聽聽聽聽聽聽聽聽聽聽 if (x == 0 ) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
return 聽聽聽聽聽 new 聽HorsePosition( 1 , 2 * y聽);
聽聽聽聽聽聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽聽聽聽聽聽
else
聽聽聽聽聽聽聽聽
return 聽聽聽聽聽 new 聽HorsePosition( 2 * x, 1 聽);
聽聽聽聽聽聽聽聽聽}


聽聽聽聽聽聽
// 浠ヤ笅璇存槑瀹屾垚浜?/span>
聽聽聽聽聽聽聽 return 聽聽 new 聽聽聽HorsePosition( 0 , 0 聽);

聽聽聽聽}



}



]]>
鏁板瓧杞崲鎴愬ぇ鍐欓噾棰?/title><link>http://www.tkk7.com/piliskys/archive/2006/03/20/36319.html</link><dc:creator>闇歸洺鐏?/dc:creator><author>闇歸洺鐏?/author><pubDate>Mon, 20 Mar 2006 06:34:00 GMT</pubDate><guid>http://www.tkk7.com/piliskys/archive/2006/03/20/36319.html</guid><wfw:comment>http://www.tkk7.com/piliskys/comments/36319.html</wfw:comment><comments>http://www.tkk7.com/piliskys/archive/2006/03/20/36319.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/piliskys/comments/commentRss/36319.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/piliskys/services/trackbacks/36319.html</trackback:ping><description><![CDATA[ <p>鏃╂鏃ュ瓙錛屽啓浜嗕釜鏁板瓧杞負閲戦鐨勶紝浠婂ぉ鍦ㄧ數鑴戜笂鎵懼埌鐨勶紝铏界劧緗戜笂榪欑被浠g爜寰堝錛屼絾姣曠珶鑺變簡浜涘績鎬濓紝鎵浠ュ湪姝よ涓婏紝javascript瀹炵幇鐨勶紝浠g爜濡備笅錛?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"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">html</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">body</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">form</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">input聽type</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">text</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">聽value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">1034354.245</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">聽name</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">text1</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">input聽type</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">button</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">聽value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">out</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">聽onclick</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">piliskys()</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">form</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">body</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">html</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">script</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_185_297_Open_Image" onclick="this.style.display='none'; Codehighlighter1_185_297_Open_Text.style.display='none'; Codehighlighter1_185_297_Closed_Image.style.display='inline'; Codehighlighter1_185_297_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_185_297_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_185_297_Closed_Text.style.display='none'; Codehighlighter1_185_297_Open_Image.style.display='inline'; Codehighlighter1_185_297_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span style="COLOR: #0000ff">function</span> <span style="COLOR: #000000">聽piliskys()</span> <span id="Codehighlighter1_185_297_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" /> </span> <span id="Codehighlighter1_185_297_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽test1</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽document.all.text1.value;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽<br /><img id="Codehighlighter1_251_280_Open_Image" onclick="this.style.display='none'; Codehighlighter1_251_280_Open_Text.style.display='none'; Codehighlighter1_251_280_Closed_Image.style.display='inline'; Codehighlighter1_251_280_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_251_280_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_251_280_Closed_Text.style.display='none'; Codehighlighter1_251_280_Open_Image.style.display='inline'; Codehighlighter1_251_280_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">(isNaN(test1))聽</span> <span id="Codehighlighter1_251_280_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" /> </span> <span id="Codehighlighter1_251_280_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />alert(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">涓嶆槸涓涓湁鏁堢殑鏁板瓧錛岃閲嶆柊杈撳叆錛?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #0000ff">else</span> <span style="COLOR: #000000">聽creat();<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <br /> <img id="Codehighlighter1_316_699_Open_Image" onclick="this.style.display='none'; Codehighlighter1_316_699_Open_Text.style.display='none'; Codehighlighter1_316_699_Closed_Image.style.display='inline'; Codehighlighter1_316_699_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_316_699_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_316_699_Closed_Text.style.display='none'; Codehighlighter1_316_699_Open_Image.style.display='inline'; Codehighlighter1_316_699_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span style="COLOR: #0000ff">function</span> <span style="COLOR: #000000">聽creat()</span> <span id="Codehighlighter1_316_699_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" /> </span> <span id="Codehighlighter1_316_699_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽test1</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽document.all.text1.value;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽money1聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">new</span> <span style="COLOR: #000000">聽Number(test1);<br /><img id="Codehighlighter1_422_457_Open_Image" onclick="this.style.display='none'; Codehighlighter1_422_457_Open_Text.style.display='none'; Codehighlighter1_422_457_Closed_Image.style.display='inline'; Codehighlighter1_422_457_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_422_457_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_422_457_Closed_Text.style.display='none'; Codehighlighter1_422_457_Open_Image.style.display='inline'; Codehighlighter1_422_457_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">(money1</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">1000000000000000000</span> <span style="COLOR: #000000">)聽</span> <span id="Codehighlighter1_422_457_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" /> </span> <span id="Codehighlighter1_422_457_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />alert(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">浣犺緭鍏ョ殑鏁板瓧澶ぇ錛岄噸鏂拌緭鍏ワ紒</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽monee聽聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽Math.round(money1</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000">100</span> <span style="COLOR: #000000">).toString(</span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">)<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽i,j;聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽j</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽leng聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽monee.length;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽monval</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">""</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(聽i</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">;i</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">leng;i</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img id="Codehighlighter1_603_666_Open_Image" onclick="this.style.display='none'; Codehighlighter1_603_666_Open_Text.style.display='none'; Codehighlighter1_603_666_Closed_Image.style.display='inline'; Codehighlighter1_603_666_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_603_666_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_603_666_Closed_Text.style.display='none'; Codehighlighter1_603_666_Open_Image.style.display='inline'; Codehighlighter1_603_666_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽</span> <span id="Codehighlighter1_603_666_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" /> </span> <span id="Codehighlighter1_603_666_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽monval</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽monval</span> <span style="COLOR: #000000">+</span> <span style="COLOR: #000000">to_upper(monee.charAt(i))</span> <span style="COLOR: #000000">+</span> <span style="COLOR: #000000">to_mon(leng</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">i</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽repace_acc(monval);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽</span> <span style="COLOR: #0000ff">function</span> <span style="COLOR: #000000">聽to_upper(聽a)<br /><img id="Codehighlighter1_725_1125_Open_Image" onclick="this.style.display='none'; Codehighlighter1_725_1125_Open_Text.style.display='none'; Codehighlighter1_725_1125_Closed_Image.style.display='inline'; Codehighlighter1_725_1125_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_725_1125_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_725_1125_Closed_Text.style.display='none'; Codehighlighter1_725_1125_Open_Image.style.display='inline'; Codehighlighter1_725_1125_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽</span> <span id="Codehighlighter1_725_1125_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" /> </span> <span id="Codehighlighter1_725_1125_Open_Text"> <span style="COLOR: #000000">{<br /><img id="Codehighlighter1_737_1122_Open_Image" onclick="this.style.display='none'; Codehighlighter1_737_1122_Open_Text.style.display='none'; Codehighlighter1_737_1122_Closed_Image.style.display='inline'; Codehighlighter1_737_1122_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_737_1122_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_737_1122_Closed_Text.style.display='none'; Codehighlighter1_737_1122_Open_Image.style.display='inline'; Codehighlighter1_737_1122_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">switch</span> <span style="COLOR: #000000">(a)</span> <span id="Codehighlighter1_737_1122_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" /> </span> <span id="Codehighlighter1_737_1122_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'闆?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'澹?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">2</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'璐?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">3</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鍙?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">4</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鑲?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">5</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'浼?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">6</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'闄?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">7</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鏌?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">8</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鎹?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽'</span> <span style="COLOR: #000000">9</span> <span style="COLOR: #000000">'聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鐜?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">default</span> <span style="COLOR: #000000">:聽聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽''聽;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />聽}</span> </span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_1146_1580_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1146_1580_Open_Text.style.display='none'; Codehighlighter1_1146_1580_Closed_Image.style.display='inline'; Codehighlighter1_1146_1580_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_1146_1580_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1146_1580_Closed_Text.style.display='none'; Codehighlighter1_1146_1580_Open_Image.style.display='inline'; Codehighlighter1_1146_1580_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">function</span> <span style="COLOR: #000000">聽to_mon(a)</span> <span id="Codehighlighter1_1146_1580_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" /> </span> <span id="Codehighlighter1_1146_1580_Open_Text"> <span style="COLOR: #000000">{<br /><img id="Codehighlighter1_1157_1187_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1157_1187_Open_Text.style.display='none'; Codehighlighter1_1157_1187_Closed_Image.style.display='inline'; Codehighlighter1_1157_1187_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1157_1187_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1157_1187_Closed_Text.style.display='none'; Codehighlighter1_1157_1187_Open_Image.style.display='inline'; Codehighlighter1_1157_1187_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">(a</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">)</span> <span id="Codehighlighter1_1157_1187_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" /> </span> <span id="Codehighlighter1_1157_1187_Open_Text"> <span style="COLOR: #000000">{聽a</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">a聽</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">8</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">(to_mon(a));}</span> </span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_1199_1577_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1199_1577_Open_Text.style.display='none'; Codehighlighter1_1199_1577_Closed_Image.style.display='inline'; Codehighlighter1_1199_1577_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_1199_1577_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1199_1577_Closed_Text.style.display='none'; Codehighlighter1_1199_1577_Open_Image.style.display='inline'; Codehighlighter1_1199_1577_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽</span> <span style="COLOR: #0000ff">switch</span> <span style="COLOR: #000000">(a)</span> <span id="Codehighlighter1_1199_1577_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" /> </span> <span id="Codehighlighter1_1199_1577_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鍒?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'瑙?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">2</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鍏?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">3</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鎷?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">4</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'浣?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">5</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'浠?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">6</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'涓?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">7</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'鎷?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">8</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'浣?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">9</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'浠?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽</span> <span style="COLOR: #0000ff">case</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">聽:聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽'浜?;聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />聽}</span> </span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_1612_2654_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1612_2654_Open_Text.style.display='none'; Codehighlighter1_1612_2654_Closed_Image.style.display='inline'; Codehighlighter1_1612_2654_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_1612_2654_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1612_2654_Closed_Text.style.display='none'; Codehighlighter1_1612_2654_Open_Image.style.display='inline'; Codehighlighter1_1612_2654_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">function</span> <span style="COLOR: #000000">聽repace_acc(Money)</span> <span id="Codehighlighter1_1612_2654_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" /> </span> <span id="Codehighlighter1_1612_2654_Open_Text"> <span style="COLOR: #000000">{聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽Money</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">Money.replace(</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 /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽Money</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">Money.replace(</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">闆?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽yy;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽聽outmoney;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">Money;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽yy</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">;<br /><img id="Codehighlighter1_1758_2432_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1758_2432_Open_Text.style.display='none'; Codehighlighter1_1758_2432_Closed_Image.style.display='inline'; Codehighlighter1_1758_2432_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1758_2432_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1758_2432_Closed_Text.style.display='none'; Codehighlighter1_1758_2432_Open_Image.style.display='inline'; Codehighlighter1_1758_2432_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff">while</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #0000ff">true</span> <span style="COLOR: #000000">)</span> <span id="Codehighlighter1_1758_2432_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" /> </span> <span id="Codehighlighter1_1758_2432_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000">聽lett</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.length;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">鍏?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">涓?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">浜?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">闆?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">闆?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">闆?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">闆?/span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">浜塊浂</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">涓囬浂</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.replace(</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">浠熼浂</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽yy</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.length;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(yy</span> <span style="COLOR: #000000">==</span> <span style="COLOR: #000000">lett)聽</span> <span style="COLOR: #0000ff">break</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽yy聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.length;<br /><img id="Codehighlighter1_2492_2535_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2492_2535_Open_Text.style.display='none'; Codehighlighter1_2492_2535_Closed_Image.style.display='inline'; Codehighlighter1_2492_2535_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_2492_2535_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2492_2535_Closed_Text.style.display='none'; Codehighlighter1_2492_2535_Open_Image.style.display='inline'; Codehighlighter1_2492_2535_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">聽(聽outmoney.charAt(yy</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #000000">==</span> <span style="COLOR: #000000">'闆?)</span> <span id="Codehighlighter1_2492_2535_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" /> </span> <span id="Codehighlighter1_2492_2535_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">outmoney.substring(</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">,yy</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽yy聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽outmoney.length;<br /><img id="Codehighlighter1_2596_2626_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2596_2626_Open_Text.style.display='none'; Codehighlighter1_2596_2626_Closed_Image.style.display='inline'; Codehighlighter1_2596_2626_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_2596_2626_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2596_2626_Closed_Text.style.display='none'; Codehighlighter1_2596_2626_Open_Image.style.display='inline'; Codehighlighter1_2596_2626_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">聽(聽outmoney.charAt(yy</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #000000">==</span> <span style="COLOR: #000000">'鍏?)</span> <span id="Codehighlighter1_2596_2626_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" /> </span> <span id="Codehighlighter1_2596_2626_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽outmoney</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">outmoney聽</span> <span style="COLOR: #000000">+</span> <span style="COLOR: #000000">'鏁?;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽alert(outmoney);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">script</span> <span style="COLOR: #000000">></span> </div> <img src ="http://www.tkk7.com/piliskys/aggbug/36319.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/piliskys/" target="_blank">闇歸洺鐏?/a> 2006-03-20 14:34 <a href="http://www.tkk7.com/piliskys/archive/2006/03/20/36319.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>ajax鐨勭戶緇涔?/title><link>http://www.tkk7.com/piliskys/archive/2006/03/20/36312.html</link><dc:creator>闇歸洺鐏?/dc:creator><author>闇歸洺鐏?/author><pubDate>Mon, 20 Mar 2006 06:01:00 GMT</pubDate><guid>http://www.tkk7.com/piliskys/archive/2006/03/20/36312.html</guid><wfw:comment>http://www.tkk7.com/piliskys/comments/36312.html</wfw:comment><comments>http://www.tkk7.com/piliskys/archive/2006/03/20/36312.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/piliskys/comments/commentRss/36312.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/piliskys/services/trackbacks/36312.html</trackback:ping><description><![CDATA[鏄ㄥぉ鍋氫笅鎷夋鏃剁敤浜唄ttp_request.responseXml浣嗘劅瑙夊張瑕佸悗鎴愬張瑕佽В鏋恱ml鐢氭槸楹葷儲錛屼粖澶╃敤http_request.responseText鍙嶅洖涓瀛楃涓詫紝鍒╃敤javascript鏉ヨВ鏋愬畠錛岀劧鍚庡姞鍏ュ埌涓嬫媺妗嗕腑錛屾劅瑙変笉鏄緢楹葷儲錛岃屼笖javascript寰堝閮ㄥ垎鍙互鍏敤銆?褰撶劧錛屽瓧絎︿覆瑕佺敓鎴愪竴瀹氱殑褰㈠紡錛屽瓧絎︿覆褰㈠紡濡傗滃垬寰峰崕錕ndy#寮犲鍙嬶駿jacky#鈥濓紝#錕ユ槸姣旇緝鐗規畩鐨勫瓧絎︼紝涓鑸儏鍐典笅鏄笉浼氱敤鍒扮殑錛屾墍浠ョ敤瀹冩潵鍒嗗紑涓嬫媺妗嗙殑lab鍜宼ext鐨勫兼瘮杈冨鏄?javascript濡備笅 <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"><img id="Codehighlighter1_21_463_Open_Image" onclick="this.style.display='none'; Codehighlighter1_21_463_Open_Text.style.display='none'; Codehighlighter1_21_463_Closed_Image.style.display='inline'; Codehighlighter1_21_463_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_21_463_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_21_463_Closed_Text.style.display='none'; Codehighlighter1_21_463_Open_Image.style.display='inline'; Codehighlighter1_21_463_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span>function</span><span> getCctv(obj)</span><span id="Codehighlighter1_21_463_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" /></span><span id="Codehighlighter1_21_463_Open_Text"><span>{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span>//</span><span>obj灝辨槸浼犺繃鏉ョ殑瀛楃涓?/span><span><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span></span><span>var</span><span> n ,m;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span>var</span><span> cctvobj</span><span>=</span><span> document.form1.cctv.options;</span><span>//</span><span>浠ヤ笅鎻掑叆鐨勪笅鎷夋</span><span><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span> cctvobj.innerHTML</span><span>=</span><span>""</span><span>;</span><span>//</span><span>鍏堟妸瀹冩竻絀?/span><span><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span>var</span><span> strr </span><span>=</span><span></span><span>new</span><span> String(obj);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span>var</span><span> textvar,labvar;<br /><img id="Codehighlighter1_206_461_Open_Image" onclick="this.style.display='none'; Codehighlighter1_206_461_Open_Text.style.display='none'; Codehighlighter1_206_461_Closed_Image.style.display='inline'; Codehighlighter1_206_461_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_206_461_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_206_461_Closed_Text.style.display='none'; Codehighlighter1_206_461_Open_Image.style.display='inline'; Codehighlighter1_206_461_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /></span><span>while</span><span>(strr.indexOf('錕?)</span><span>>-</span><span>1</span><span>)</span><span id="Codehighlighter1_206_461_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" /></span><span id="Codehighlighter1_206_461_Open_Text"><span>{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />n </span><span>=</span><span> strr.indexOf('#');<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />m </span><span>=</span><span> strr.indexOf('錕?);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />textvar</span><span>=</span><span>strr.substring(</span><span>0</span><span>,m);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />labvar</span><span>=</span><span>strr.substring(m</span><span>+</span><span>1</span><span>,n);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />strr</span><span>=</span><span>strr.substring(n</span><span>+</span><span>1</span><span>);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /> op </span><span>=</span><span> document.createElement(</span><span>"</span><span>OPTION</span><span>"</span><span>);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /> op.text</span><span>=</span><span> textvar ;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /> op.value</span><span>=</span><span> labvar;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /> cctvobj.add(op);</span><span>//</span><span>鍔犲叆涓嬫媺妗?/span><span><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /></span><span> }</span></span><span><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div>濡傛灉鍦ㄩ」鐩腑榪愮敤鐨勮瘽錛岀◢鏀逛竴涓嬶紝鍙鍒伴〉闈笂鍐欎竴涓笅鎷夋鍙傛暟浼犲叆錛屽艦寮忓儚send_request(url,obj)//url灝辨槸鎻愪氦鐨勯〉闈紝obj灝辨槸寰楀埌涓嬫媺妗唎ptions鐨勫悕縐幫紝榪欐牱鐨勮瘽錛屽彧瑕佷綘榪斿洖欏甸潰鏄竴涓艦寮忓涓婄殑瀛楃涓茬殑璇濓紝灝卞彲浠ラ氱敤浜嗐?<img src ="http://www.tkk7.com/piliskys/aggbug/36312.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/piliskys/" target="_blank">闇歸洺鐏?/a> 2006-03-20 14:01 <a href="http://www.tkk7.com/piliskys/archive/2006/03/20/36312.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>ajax鐨勫涔犲強闂http://www.tkk7.com/piliskys/archive/2006/03/20/36311.html闇歸洺鐏?/dc:creator>闇歸洺鐏?/author>Mon, 20 Mar 2006 05:58:00 GMThttp://www.tkk7.com/piliskys/archive/2006/03/20/36311.htmlhttp://www.tkk7.com/piliskys/comments/36311.htmlhttp://www.tkk7.com/piliskys/archive/2006/03/20/36311.html#Feedback0http://www.tkk7.com/piliskys/comments/commentRss/36311.htmlhttp://www.tkk7.com/piliskys/services/trackbacks/36311.html鍓嶄簺鏃ュ瓙鐪嬩簡涓涓嬪叧浜巃jax鐨勬枃绔狅紝鎰熻鏃犲埛鏂拌屾洿鏂板眬閮ㄩ〉闈㈢殑紜笉閿欙紝鍥犳浠婂ぉ鐗瑰湴鍦ㄦ湰鏈鴻瘯浜嗗嚑涓緥瀛愶紝

1錛岀敤鎴峰悕鍞竴鎬ф嫻嬶紝瀹炰緥錛屽彧瑕佺収鐫涓婇潰鍋氬氨娌℃湁闂鐨勩?br /> 2錛屽仛涓涓繛鍔ㄧ殑涓嬫帴妗嗭紝鐢盿涓嬫媺妗嗗緱鍒癰涓嬫媺妗嗭紝褰撴椂鎬繪兂鐢ㄤ竴涓暟緇勮繑鍥烇紝浣嗕笉鐭ラ亾鎬庝箞鐢紝濡傛灉鐢╮esponseText榪斿洖鐨勮瘽錛屽彲鑳借鐢╦avascript瑙f瀽瀛楃涓詫紝鐒跺悗鎷兼垚涓嬫媺妗嗙殑option錛屾劅瑙夊彲鑳芥瘮杈冮夯鐑︼紝鍥犳鐢╮esponseXML榪斿洖錛屽厛鍦ㄦ湰鍦板緩浜嗕釜cctv.xml鏂囦歡錛岀劧鍚庣敤send_request('/cctv.xml');鏃跺彲浠ュ湪鏈〉闈㈠緱鍒頒笅鎷夋錛岀劧鑰岀敤send_request('/cctv.jsp');灝變笉鑳芥垚鍔燂紝cctv.jsp鍚屾牱鏄敓鎴恈ctv.xml涓鏍風殑欏甸潰銆備絾寰楀埌http_request.responseXML涓殑鍏冪礌鎬繪槸0涓紝鐪熸悶涓嶆噦銆傛濊冿細
1錛屽綋鐪嬪埌google涓殑鏌ユ壘甯﹀嚭鐩稿簲鍊兼潵鏃訛紝涓轟粈涔堜細榪欎箞蹇晩錛岀湡鐨勬槸鍋氱殑涓嶉敊錛屼笉鐭ラ亾瀹冪殑鏈哄埗鏄浣曞仛鐨勩?br /> 2錛屽浜庝竴浜涘綰ц繛鍔ㄤ笅鎷夋鐨勫疄鐜幫紝涓鑸潵璇撮兘鏄妸鎵浠ユ暟鎹垵濮嬪寲鏀懼叆欏甸潰錛岀劧鍚庣敱javasrcipt鏉ユ帶鍒舵樉紺猴紝榪欐牱瀵逛簬涓浜涙鏋跺強鎿嶄綔鏁版嵁搴撴潵璇達紝鍙涓嬈℃暟鎹簱榪炴帴錛屽彧瑕佷竴嬈¤煩杞紝鑰岄噰鐢╝jax鎶鏈殑璇濓紝鍙兘瀛樺湪鏁版嵁搴撳嬈¤繛鎺ュ拰妗嗘灦鐨勫嬈¤煩杞紝鍥犳錛屾ц兘鐨勪紭鍔d篃瑕佹帴鎯呭喌鑰屽畾銆?br /> 3錛屾劅瑙塧jax欏甸潰浠g爜榪囧錛屾劅瑙夊鐢ㄨ緝闅撅紝鍙﹀涓嶇煡閬撹兘鍚﹁繑鍥炰竴涓暟緇勬垨闆嗗悎錛屽埄鐢ㄧ敓鎴恱ml鐒跺悗瀵瑰叾榪涜瑙f瀽鐨勮瘽錛屾晥鐜囦笂鏄惁鏈夋墍嬈犵己銆?br /> ajax榪樻槸鍒濇浜嗚В錛屾湜寰楀埌姝ゆ柟闈㈢殑浜虹殑甯姪銆?



]]>
鎴愬姛涓夊崄涓冨紡錛堣漿杞斤級http://www.tkk7.com/piliskys/archive/2006/03/20/36309.html闇歸洺鐏?/dc:creator>闇歸洺鐏?/author>Mon, 20 Mar 2006 05:55:00 GMThttp://www.tkk7.com/piliskys/archive/2006/03/20/36309.htmlhttp://www.tkk7.com/piliskys/comments/36309.htmlhttp://www.tkk7.com/piliskys/archive/2006/03/20/36309.html#Feedback0http://www.tkk7.com/piliskys/comments/commentRss/36309.htmlhttp://www.tkk7.com/piliskys/services/trackbacks/36309.html絎簩寮忥細鍓嶉潰姘歌繙鏈鍗遍櫓
絎笁寮忥細鑾浠栦漢鎺岀敓姝?
絎洓寮忥細娌℃湁姘歌繙鐨勯伩椋庢腐
絎簲寮忥細璁ゆ竻鑷繁寰堥噸瑕?
絎叚寮忥細闇鎰忓織鏃惰帿鏀懼純
絎竷寮忥細鑾交鍙楄鎯戝嚭鑸亾
絎叓寮忥細鍑′簨鎴愬姛闇瓚佹棭
絎節寮忥細涔愪笌娌熼氭槸娼滆川
絎崄寮忥細鍚冭嫤鑰愬姵錛屽繊杈卞伔鐢?
絎崄涓寮忥細蹇欎腑闇鑳藉伔闂叉瓏
絎崄浜屽紡錛氫繚鎸佷箰瑙傛槸鍏抽敭
絎崄涓夊紡錛氬繀瑕佹椂浣曞Θ鎵亹榫?
鍗佸洓寮忥細绔炴妧蹇冩佸父淇濇寔
絎崄浜斿紡錛氭病鏈夋案榪滅殑鏁屼漢 姘歌繙涓嶉渶瑕佸湪鏉冨▉闈㈠墠鍙戞姈
絎崄鍏紡錛氬悗鏂規湁鎻存渶瀹岀編錛屾垚鍔熻儗鍚庢槸濂充漢
絎崄涓冨紡錛氬洟緇撳績鎬佽甯告湁
絎崄鍏紡錛氬洜鎵嶇敤浜哄杽椹遍┌
絎崄涔濆紡錛氶槻浜轟箣蹇冧笉鍙棤
絎簩鍗佸紡錛氶瑙佸嵄鏈哄杽澶勭悊
絎簩鍗佷竴寮忥細鍏呭垎鍒╃敤璧勬簮
絎簩鍗佷簩寮忥細鍔ㄥ姏涔嬫簮鏄ソ濂?
絎簩鍗佷笁寮忥細璇█鑳藉姏闇鍩瑰吇錛岃鏈嶆妧宸т笉鍙交
絎簩鍗佸洓寮忥細鍚涘瓙欏葷埍璐?
絎簩鍗佷簲寮忥細鎶撲綇闂鐨勮瀹?
絎簩鍗佸叚寮忥細鍙湁鍋忔墽鐙傛墠鑳芥垚鍔?
絎簩鍗佷竷寮忥細璇嗘椂鍔¤呬負淇婃澃
絎簩鍗佸叓寮忥細蹇漢涓姝ヤ袱閲嶅ぉ
絎簩鍗佷節寮忥細榪芥眰瀹岀編涓嶅彲鍙?
絎笁鍗佸紡錛氫繚閲嶈韓浣撴槸鏍規湰
絎笁鍗佷竴寮忥細涓嶈杞繪槗鏀瑰彉鑷繁鐨勭壒鑹?
絎笁鍗佷簩寮忥細瑕侀傚綋鏀炬澗鑷繁
絎笁鍗佷笁寮忥細瀛︿細鍏嬫湇鑷繁鐨勬亹鎯ф劅
絎笁鍗佸洓寮忥細姘歌繙涓嶈榪囦喚浣庝及浣犵殑瀵規墜
絎笁鍗佷簲寮忥細浠庝互寰鍙婁粬浜虹殑澶辮觸涓輩鍙栫粡楠?
絎笁鍗佸叚寮忥細鎶婂埆浜虹殑浼樼偣瀛﹁繃鏉?
鏈鍚庝竴寮忥細鎾囧紑宸ヤ綔钂欏ご澶х潯


]]>
主站蜘蛛池模板: 国产精品黄页免费高清在线观看| 亚洲综合在线成人一区| 日本亚洲欧美色视频在线播放| 成人福利免费视频| 亚洲成人午夜电影| 啦啦啦www免费视频| 亚洲国色天香视频| 亚洲精品亚洲人成在线观看| 久久久久久AV无码免费网站下载| 久久久久无码精品亚洲日韩| 日本免费一区二区三区 | 亚洲av纯肉无码精品动漫| 久久久久亚洲AV无码观看| 无人在线直播免费观看| 麻豆69堂免费视频| 国产亚洲精品AA片在线观看不加载| 福利免费在线观看| 亚洲网站在线免费观看| 亚洲va久久久噜噜噜久久男同| 国内免费高清在线观看| 精品久久亚洲一级α| 亚洲今日精彩视频| 夜色阁亚洲一区二区三区| 一区二区三区四区免费视频| 最近2019中文免费字幕在线观看| 亚洲国产精品综合久久网各| 亚洲成人激情在线| 亚洲国产精品久久久久婷婷老年 | 中美日韩在线网免费毛片视频 | 日本免费久久久久久久网站| 亚洲一级毛片免费看| 亚洲国产午夜福利在线播放| 99久久精品免费视频| 91香蕉在线观看免费高清| 亚洲av纯肉无码精品动漫| 亚洲AV无码一区二区乱子仑| 相泽南亚洲一区二区在线播放| 国产精品亚洲精品日韩电影| 亚洲视频小说图片| 亚洲国产高清视频在线观看| 亚洲中文字幕一二三四区|