锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲精品2021自在线,亚洲精品无码成人片在线观看 ,亚洲制服丝袜精品久久http://www.tkk7.com/hallywang/category/8291.htmlzh-cnSat, 15 Dec 2007 02:40:16 GMTSat, 15 Dec 2007 02:40:16 GMT60 Idea7 寮鍙憌ebservice渚嬪瓙鍥捐В錛堜嬌鐢╟xf妗嗘灦,tomat5.5,jdk1.5錛?http://www.tkk7.com/hallywang/archive/2007/12/14/167790.htmlHallyHallyFri, 14 Dec 2007 07:40:00 GMThttp://www.tkk7.com/hallywang/archive/2007/12/14/167790.htmlhttp://www.tkk7.com/hallywang/comments/167790.htmlhttp://www.tkk7.com/hallywang/archive/2007/12/14/167790.html#Feedback1http://www.tkk7.com/hallywang/comments/commentRss/167790.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/167790.html

Hally 2007-12-14 15:40 鍙戣〃璇勮
]]>
鏈榪戝涔?fàn)webwork+spring+hibernate錛岃嚜宸卞涔?fàn)杩嚱E嬩腑鐨勪竴涓緥瀛?http://www.tkk7.com/hallywang/archive/2007/07/20/131500.htmlHallyHallyFri, 20 Jul 2007 07:37:00 GMThttp://www.tkk7.com/hallywang/archive/2007/07/20/131500.htmlhttp://www.tkk7.com/hallywang/comments/131500.htmlhttp://www.tkk7.com/hallywang/archive/2007/07/20/131500.html#Feedback2http://www.tkk7.com/hallywang/comments/commentRss/131500.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/131500.html闃呰鍏ㄦ枃

Hally 2007-07-20 15:37 鍙戣〃璇勮
]]>
webwork涓被浼約truts鐨凞ispatchAction鐨勪嬌鐢ㄦ柟娉曘?http://www.tkk7.com/hallywang/archive/2007/07/20/131498.htmlHallyHallyFri, 20 Jul 2007 07:36:00 GMThttp://www.tkk7.com/hallywang/archive/2007/07/20/131498.htmlhttp://www.tkk7.com/hallywang/comments/131498.htmlhttp://www.tkk7.com/hallywang/archive/2007/07/20/131498.html#Feedback2http://www.tkk7.com/hallywang/comments/commentRss/131498.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/131498.html 

鍦╯truts涓垜浠範(fàn)鎯嬌鐢╠ispatchaction錛屼紶鍏ethod鍙傛暟錛?a >http://www.xxxx.com/xxx.do?method=preAdd錛?/font>
鏉ュ喅瀹氭墽琛孉ction閲岄潰鐨勫摢涓柟娉曪紝浠庤屾妸鏌愪釜妯″潡鐨勮濡傚銆佸垹銆佹敼銆佹煡絳夊姛鑳芥斁鍦ㄤ竴涓狝ction涓鐞嗭紝閬垮厤action綾繪暟閲忓お澶氥?/font>
鍦╳ebwork涓被浼肩殑鍔熻兘銆?/font>
 
1錛屾柟娉曚竴錛氫嬌鐢ˋctionMapper 錛堝叧浜嶢ctionMapper 榪樻湁鍏朵粬鍔熻兘鍙互鍙傝 http://wiki.javascud.org/display/ww2cndoc/ActionMapper錛?/font>
 
欏甸潰涓啓娉曪細(xì)
    <ww:form name="login" ">
    <ww:textfield label="鐢ㄦ埛鍚? name="model.username" />
    <ww:textfield label="瀵?鐮? name="model.password" />
    <ww:submit name="method:Test" value="鎻愪氦"/>
</ww:form>
 
娉ㄦ剰綰㈣壊閮ㄥ垎鐨勫啓娉曘傝繖鏍鋒彁浜や箣鍚庡皢浼?xì)璋冪敤login榪欎釜action閲岄潰鐨?Test( )鎴栬卍oTest( )鏂規(guī)硶錛岃屼笉鏄粯璁ょ殑execute( )銆?/div>
login榪欎釜action閲岄潰鍐欐硶錛?/div>
 public String doTest() {
        System.out.println("ooooo================");
        loginInfo.setErrorMessage("嫻嬭瘯鑰屽凡!");
        return LOGIN_FAIL;
 
    }
 
2錛屾柟娉曚簩錛氱洿鎺ュ湪form 鐨刟ction閲岄潰鍐?/font>
欏甸潰鍐欐硶錛?/font>
 
<ww:form name="login" action="login!Test" method="post" validate="true">
    <ww:textfield label="鐢ㄦ埛鍚? name="model.username" />
    <ww:textfield label="瀵?鐮? name="model.password" />
    <ww:submit value="鎻愪氦"/>
</ww:form>
 
login榪欎釜action閲岄潰鍐欐硶鍜屾柟娉曚竴涓鏍楓?/div>
 
 
榪涙祴璇曪紝涓ょ鏂規(guī)硶鏁堟灉涓鏍楓?/div>
 
甯屾湜瀵瑰ぇ瀹舵湁鐐瑰府鍔┿傘傘?/div>  


Hally 2007-07-20 15:36 鍙戣〃璇勮
]]>jsp瀵煎嚭excel鏂囦歡錛屼嬌鐢≒OI鐨?/title><link>http://www.tkk7.com/hallywang/archive/2006/10/25/77250.html</link><dc:creator>Hally</dc:creator><author>Hally</author><pubDate>Wed, 25 Oct 2006 09:55:00 GMT</pubDate><guid>http://www.tkk7.com/hallywang/archive/2006/10/25/77250.html</guid><wfw:comment>http://www.tkk7.com/hallywang/comments/77250.html</wfw:comment><comments>http://www.tkk7.com/hallywang/archive/2006/10/25/77250.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/hallywang/comments/commentRss/77250.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/hallywang/services/trackbacks/77250.html</trackback:ping><description><![CDATA[ <p>聽</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"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000"><%</span> <span style="COLOR: #000000">@聽page聽language</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">java</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">聽contentType</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">text/html;charset=gb2312</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">@聽page聽language</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">java</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: #0000ff">import</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">java.util.*,org.apache.poi.hssf.usermodel.HSSFWorkbook,org.apache.poi.hssf.usermodel.HSSFSheet,org.apache.poi.hssf.usermodel.HSSFRow,org.apache.poi.hssf.usermodel.HSSFCell</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"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽response.setContentType(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">APPLICATION/OCTET-STREAM</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽response.setHeader(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">Content-Disposition</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">attachment;聽filename=\</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">test.xls</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"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</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/None.gif" align="top" /> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽HSSFWorkbook聽wb聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">new</span> <span style="COLOR: #000000">聽HSSFWorkbook();<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽HSSFSheet聽sheet聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽wb.createSheet(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">sheet1</span> <span style="COLOR: #000000">"</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: #008000">//</span> <span style="COLOR: #008000">浠ヤ笅浠ュ啓琛ㄥご<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.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/None.gif" align="top" /> </span> <span style="COLOR: #000000">聽聽聽聽HSSFRow聽row聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽sheet.createRow((</span> <span style="COLOR: #0000ff">short</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/None.gif" align="top" /><br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽HSSFCell聽cell1聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽row.createCell((</span> <span style="COLOR: #0000ff">short</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/None.gif" align="top" />聽聽聽聽HSSFCell聽cell2聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽row.createCell((</span> <span style="COLOR: #0000ff">short</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/None.gif" align="top" />聽聽聽聽HSSFCell聽cell3聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽row.createCell((</span> <span style="COLOR: #0000ff">short</span> <span style="COLOR: #000000">)聽</span> <span style="COLOR: #000000">2</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" />聽聽聽聽cell1.setEncoding((</span> <span style="COLOR: #0000ff">short</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/None.gif" align="top" />聽聽聽聽cell1.setCellType(</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽cell2.setEncoding((</span> <span style="COLOR: #0000ff">short</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/None.gif" align="top" />聽聽聽聽cell2.setCellType(</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽cell3.setEncoding((</span> <span style="COLOR: #0000ff">short</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/None.gif" align="top" />聽聽聽聽cell3.setCellType(</span> <span style="COLOR: #000000">1</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: #008000">//</span> <span style="COLOR: #008000">瀹氫箟琛ㄥご鐨勫唴瀹?/span> <span style="COLOR: #008000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000">聽聽聽聽cell1.setCellValue(</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/None.gif" align="top" />聽聽聽聽cell2.setCellValue(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">嫻嬭瘯2</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽cell3.setCellValue(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">嫻嬭瘯3</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /><img id="Codehighlighter1_1001_1451_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1001_1451_Open_Text.style.display='none'; Codehighlighter1_1001_1451_Closed_Image.style.display='inline'; Codehighlighter1_1001_1451_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_1001_1451_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1001_1451_Closed_Text.style.display='none'; Codehighlighter1_1001_1451_Open_Image.style.display='inline'; Codehighlighter1_1001_1451_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">聽(</span> <span style="COLOR: #0000ff">int</span> <span style="COLOR: #000000">聽i聽</span> <span style="COLOR: #000000">=</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">聽</span> <span style="COLOR: #000000">4</span> <span style="COLOR: #000000">;聽i</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)聽</span> <span id="Codehighlighter1_1001_1451_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_1001_1451_Open_Text"> <span style="COLOR: #000000">{<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">聽聽聽聽聽聽聽聽row聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽sheet.createRow((</span> <span style="COLOR: #0000ff">short</span> <span style="COLOR: #000000">)聽i聽</span> <span style="COLOR: #000000">+</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/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell1聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽row.createCell((</span> <span style="COLOR: #0000ff">short</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" />聽聽聽聽聽聽聽聽cell2聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽row.createCell((</span> <span style="COLOR: #0000ff">short</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/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell3聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽row.createCell((</span> <span style="COLOR: #0000ff">short</span> <span style="COLOR: #000000">)聽</span> <span style="COLOR: #000000">2</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" />聽聽聽聽聽聽聽聽cell1.setEncoding((</span> <span style="COLOR: #0000ff">short</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/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell1.setCellType(</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell2.setEncoding((</span> <span style="COLOR: #0000ff">short</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/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell2.setCellType(</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell3.setEncoding((</span> <span style="COLOR: #0000ff">short</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/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell3.setCellType(</span> <span style="COLOR: #000000">1</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: #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"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell1.setCellValue(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">ggg</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell2.setCellValue(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">00000</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽cell3.setCellValue(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">adfasdf</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 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" />聽聽聽聽wb.write(response.getOutputStream());<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽response.getOutputStream().flush();<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽response.getOutputStream().close();<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #000000">%></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> </div> <img src ="http://www.tkk7.com/hallywang/aggbug/77250.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/hallywang/" target="_blank">Hally</a> 2006-10-25 17:55 <a href="http://www.tkk7.com/hallywang/archive/2006/10/25/77250.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>甯哥敤log4j閰嶇疆http://www.tkk7.com/hallywang/archive/2006/10/24/76911.htmlHallyHallyTue, 24 Oct 2006 02:36:00 GMThttp://www.tkk7.com/hallywang/archive/2006/10/24/76911.htmlhttp://www.tkk7.com/hallywang/comments/76911.htmlhttp://www.tkk7.com/hallywang/archive/2006/10/24/76911.html#Feedback0http://www.tkk7.com/hallywang/comments/commentRss/76911.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/76911.html
涓銆乴og4j.properties

### 璁劇疆org.zblog鍩熷搴旂殑綰у埆I(xiàn)NFO,DEBUG,WARN,ERROR鍜岃緭鍑哄湴A1錛孉2 ##
log4j.category.org.zblog=ERROR,A1
log4j.category.org.zblog=INFO,A2

log4j.appender.A1=org.apache.log4j.ConsoleAppender
### 璁劇疆杈撳嚭鍦癆1錛屼負(fù)ConsoleAppender(鎺у埗鍙? ##
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
### 璁劇疆A1鐨勮緭鍑哄竷灞鏍煎紡PatterLayout,(鍙互鐏墊椿鍦版寚瀹氬竷灞妯″紡錛?#
log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [%c]-[%p] %m%n
### 閰嶇疆鏃ュ織杈撳嚭鐨勬牸寮?#

log4j.appender.A2=org.apache.log4j.RollingFileAppender
### 璁劇疆杈撳嚭鍦癆2鍒版枃浠訛紙鏂囦歡澶у皬鍒拌揪鎸囧畾灝哄鐨勬椂鍊欎駭鐢熶竴涓柊鐨勬枃浠訛級##
log4j.appender.A2.File=E:/study/log4j/zhuwei.html
### 鏂囦歡浣嶇疆##
log4j.appender.A2.MaxFileSize=500KB
### 鏂囦歡澶у皬##
log4j.appender.A2.MaxBackupIndex=1
log4j.appender.A2.layout=org.apache.log4j.HTMLLayout
##鎸囧畾閲囩敤html鏂瑰紡杈撳嚭

浜屻乴og4j.xml

<?xml version="1.0" encoding="GB2312" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

<appender name="org.zblog.all" class="org.apache.log4j.RollingFileAppender">
<!-- 璁劇疆閫氶亾ID:org.zblog.all鍜岃緭鍑烘柟寮忥細(xì)org.apache.log4j.RollingFileAppender -->
<param name="File" value="E:/study/log4j/all.output.log" /><!-- 璁劇疆File鍙傛暟錛氭棩蹇楄緭鍑烘枃浠跺悕 -->
<param name="Append" value="false" /><!-- 璁劇疆鏄惁鍦ㄩ噸鏂板惎鍔ㄦ湇鍔℃椂錛屽湪鍘熸湁鏃ュ織鐨勫熀紜娣誨姞鏂版棩蹇?-->
<param name="MaxBackupIndex" value="10" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%p (%c:%L)- %m%n" /><!-- 璁劇疆杈撳嚭鏂囦歡欏圭洰鍜屾牸寮?-->
</layout>
</appender>

<appender name="org.zblog.zcw" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="E:/study/log4j/zhuwei.output.log" />
<param name="Append" value="true" />
<param name="MaxFileSize" value="10240" /> <!-- 璁劇疆鏂囦歡澶у皬 -->
<param name="MaxBackupIndex" value="10" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%p (%c:%L)- %m%n" />
</layout>
</appender>

<logger name="zcw.log"> <!-- 璁劇疆鍩熷悕闄愬埗錛屽嵆zcw.log鍩熷強(qiáng)浠ヤ笅鐨勬棩蹇楀潎杈撳嚭鍒頒笅闈㈠搴旂殑閫氶亾涓?-->
<level value="debug" /><!-- 璁劇疆綰у埆 -->
<appender-ref ref="org.zblog.zcw" /><!-- 涓庡墠闈㈢殑閫氶亾id鐩稿搴?-->
</logger>

<root> <!-- 璁劇疆鎺ユ敹鎵鏈夎緭鍑虹殑閫氶亾 -->
<appender-ref ref="org.zblog.all" /><!-- 涓庡墠闈㈢殑閫氶亾id鐩稿搴?-->
</root>

</log4j:configuration>


涓夈侀厤緗枃浠跺姞杞芥柟娉曪細(xì)

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
import org.apache.log4j.xml.DOMConfigurator;

public class Log4jApp {
public static void main(String[] args) {
DOMConfigurator.configure("E:/study/log4j/log4j.xml");//鍔犺澆.xml鏂囦歡
//PropertyConfigurator.configure("E:/study/log4j/log4j.properties");//鍔犺澆.properties鏂囦歡

Logger log=Logger.getLogger("org.zblog.test");
log.info("嫻嬭瘯");
}
}

鍥涖侀」鐩嬌鐢╨og4j
鍦╳eb搴旂敤涓紝鍙互灝嗛厤緗枃浠剁殑鍔犺澆鏀懼湪涓涓崟鐙殑servlet涓紝騫跺湪web.xml涓厤緗servlet鍦ㄥ簲鐢ㄥ惎鍔ㄦ椂鍊欏姞杞姐傚浜庡湪澶氫漢欏圭洰涓紝鍙互緇欐瘡涓涓漢璁劇疆涓涓緭鍑洪氶亾錛岃繖鏍峰湪姣忎釜浜哄湪鏋勫緩Logger鏃訛紝鐢ㄨ嚜宸辯殑鍩熷悕縐幫紝璁╄皟璇曚俊鎭緭鍑哄埌鑷繁鐨刲og鏂囦歡涓?br />

浜斻佸父鐢ㄨ緭鍑烘牸寮?br />
# -X鍙?X淇℃伅杈撳嚭鏃跺乏瀵歸綈錛?br /># %p:鏃ュ織淇℃伅綰у埆
# %d{}:鏃ュ織淇℃伅浜х敓鏃墮棿
# %c:鏃ュ織淇℃伅鎵鍦ㄥ湴錛堢被鍚嶏級
# %m:浜х敓鐨勬棩蹇楀叿浣撲俊鎭?br /># %n:杈撳嚭鏃ュ織淇℃伅鎹㈣


Hally 2006-10-24 10:36 鍙戣〃璇勮
]]>
涓涓涔?fàn)Oracle sql 鐨勪笉閿欑殑鍦版柟錛岃褰曚竴涓?/title><link>http://www.tkk7.com/hallywang/archive/2006/10/13/74988.html</link><dc:creator>Hally</dc:creator><author>Hally</author><pubDate>Fri, 13 Oct 2006 06:15:00 GMT</pubDate><guid>http://www.tkk7.com/hallywang/archive/2006/10/13/74988.html</guid><wfw:comment>http://www.tkk7.com/hallywang/comments/74988.html</wfw:comment><comments>http://www.tkk7.com/hallywang/archive/2006/10/13/74988.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/hallywang/comments/commentRss/74988.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/hallywang/services/trackbacks/74988.html</trackback:ping><description><![CDATA[ <a >http://www.adp-gmbh.ch/</a> <br /> <br />1 鍏充簬 row_number 鍒嗘瀽鍑芥暟鐨?br /><br /><a >http://www.adp-gmbh.ch/ora/sql/analytical/row_number.html</a><br /><img src ="http://www.tkk7.com/hallywang/aggbug/74988.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/hallywang/" target="_blank">Hally</a> 2006-10-13 14:15 <a href="http://www.tkk7.com/hallywang/archive/2006/10/13/74988.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title> 鏌ョ湅淇敼oracle鏁版嵁搴撳瓧絎﹂泦http://www.tkk7.com/hallywang/archive/2006/10/12/74863.htmlHallyHallyThu, 12 Oct 2006 13:41:00 GMThttp://www.tkk7.com/hallywang/archive/2006/10/12/74863.htmlhttp://www.tkk7.com/hallywang/comments/74863.htmlhttp://www.tkk7.com/hallywang/archive/2006/10/12/74863.html#Feedback0http://www.tkk7.com/hallywang/comments/commentRss/74863.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/74863.html[A]鏁版嵁搴撴湇鍔″櫒瀛楃闆唖elect * from nls_database_parameters錛屽叾鏉ユ簮浜巔rops$錛屾槸琛ㄧず鏁版嵁搴撶殑瀛楃闆嗐?
瀹㈡埛绔瓧絎﹂泦鐜select * from nls_instance_parameters,鍏舵潵婧愪簬v$parameter錛?
琛ㄧず瀹㈡埛绔殑瀛楃闆嗙殑璁劇疆錛屽彲鑳芥槸鍙傛暟鏂囦歡錛岀幆澧冨彉閲忔垨鑰呮槸娉ㄥ唽琛?
浼?xì)璇濆瓧绗﹂泦鐜?select * from nls_session_parameters錛屽叾鏉ユ簮浜巚$nls_parameters錛岃〃紺轟細(xì)璇濊嚜宸辯殑璁劇疆錛屽彲鑳芥槸浼?xì)璇濈殑鐜鍙橀噺鎴栬呮槸alter session瀹屾垚錛屽鏋滀細(xì)璇濇病鏈夌壒孌婄殑璁劇疆錛屽皢涓巒ls_instance_parameters涓鑷淬?
瀹㈡埛绔殑瀛楃闆嗚姹備笌鏈嶅姟鍣ㄤ竴鑷達(dá)紝鎵嶈兘姝g‘鏄劇ず鏁版嵁搴撶殑闈濧scii瀛楃銆傚鏋滃涓緗瓨鍦ㄧ殑鏃跺欙紝alter session>鐜鍙橀噺>娉ㄥ唽琛?gt;鍙傛暟鏂囦歡
瀛楃闆嗚姹備竴鑷達(dá)紝浣嗘槸璇█璁劇疆鍗村彲浠ヤ笉鍚岋紝璇█璁劇疆寤鴻鐢ㄨ嫳鏂囥傚瀛楃闆嗘槸zhs16gbk錛屽垯nls_lang鍙互鏄疉merican_America.zhs16gbk銆?

[Q]鎬庝箞鏍蜂慨鏀瑰瓧絎﹂泦
[A]8i浠ヤ笂鐗堟湰鍙互閫氳繃alter database鏉ヤ慨鏀瑰瓧絎﹂泦錛屼絾涔熷彧闄愪簬瀛愰泦鍒拌秴闆嗭紝涓嶅緩璁慨鏀筽rops$琛紝灝嗗彲鑳藉鑷翠弗閲嶉敊璇?
Startup nomount;
Alter database mount exclusive;
Alter system enable restricted session;
Alter system set job_queue_process=0;
Alter database open;
Alter database character set zhs16gbk;



Hally 2006-10-12 21:41 鍙戣〃璇勮
]]>
oracle涓緩绔媕ob瀹氭湡榪愯瀛樺偍榪囩▼鎬葷粨http://www.tkk7.com/hallywang/archive/2006/10/09/73888.htmlHallyHallyMon, 09 Oct 2006 01:28:00 GMThttp://www.tkk7.com/hallywang/archive/2006/10/09/73888.htmlhttp://www.tkk7.com/hallywang/comments/73888.htmlhttp://www.tkk7.com/hallywang/archive/2006/10/09/73888.html#Feedback0http://www.tkk7.com/hallywang/comments/commentRss/73888.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/73888.html1 棣栧厛鏌ョ湅


SQL> show parameter job

NAME聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 TYPE聽聽聽聽聽聽聽 VALUE
------------------------------------ ----------- ------------------------------
job_queue_processes聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 integer聽聽聽聽 10

濡傛灉鍊兼槸 0 闇瑕佷慨鏀癸紙濡傛灉涓?鍒欐棤娉曡繍琛宩ob錛屾鍊間負(fù)鍏佽鍚屾椂榪愯鐨刯ob鏁伴噺錛?br />
alter system set job_queue_processes =10; --鎴栬呭叾浠栧?br />
2 涓涓畝鍗曚緥瀛愶細(xì)
銆銆
銆銆鍒涘緩嫻嬭瘯琛?br />銆銆SQL> create table TEST(a date);
銆銆
銆銆琛ㄥ凡鍒涘緩銆?br />銆銆
銆銆鍒涘緩涓涓嚜瀹氫箟榪囩▼
銆銆SQL> create or replace procedure MYPROC as
銆銆銆2銆begin
銆銆銆3銆insert into TEST values(sysdate);
銆銆銆4銆end;
銆銆銆5銆/
銆銆
銆銆榪囩▼宸插垱寤恒?br />銆銆
銆銆鍒涘緩JOB
銆銆SQL> variable job1 number;
銆銆SQL>
銆銆SQL> begin
銆銆銆2銆dbms_job.submit(:job1,'MYPROC;',sysdate,'sysdate+1/1440');銆銆--姣忓ぉ1440鍒嗛挓錛屽嵆涓鍒嗛挓榪愯test榪囩▼涓嬈?br />銆銆銆3銆end;
銆銆銆4銆/
銆銆
銆銆PL/SQL 榪囩▼宸叉垚鍔熷畬鎴愩?br />銆銆
銆銆榪愯JOB
銆銆SQL> begin
銆銆銆2銆dbms_job.run(:job1);
銆銆銆3銆end;
銆銆銆4銆/
銆銆
銆銆PL/SQL 榪囩▼宸叉垚鍔熷畬鎴愩?br />銆銆
銆銆SQL> select to_char(a,'yyyy/mm/dd hh24:mi:ss') 鏃墮棿 from TEST;
銆銆
銆銆鏃墮棿
銆銆-------------------
銆銆2001/01/07 23:51:21
銆銆2001/01/07 23:52:22
銆銆2001/01/07 23:53:24
銆銆
銆銆鍒犻櫎JOB
銆銆SQL> begin
銆銆銆2銆dbms_job.remove(:job1);
銆銆銆3銆end;
銆銆銆4銆/
銆銆
銆銆PL/SQL 榪囩▼宸叉垚鍔熷畬鎴愩?br />
3 涓婇潰鐨勪緥瀛愭病鏈夋秹鍙?qiáng)鍒板瓨鍌q囩▼甯﹀弬鏁扮殑闂錛屽鏋滃甫鍙傛暟鍋囪涓?br />聽MYPROC錛埪爄na聽聽聽聽聽聽聽聽 IN聽 VARCHAR2,
------------------浠ヤ笅涓哄繀欏昏緭鍑哄弬鏁扮粍---------------------------------
聽outa OUT NUMBER,
聽outb聽 OUT VARCHAR2錛?br />
鍒?鍦ㄥ緩绔媕ob鐨勪唬鐮佷腑
鍒涘緩JOB
銆銆begin
聽 sys.dbms_job.submit(job => :job,
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 what => '
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽declare聽
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽outa number; --瀹氫箟杈撳嚭鍙橀噺
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽outb varchar2(40);聽
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽begin聽
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽MYPROC(''杈撳叆'',outa =>outa ,outb =>outb );聽
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽end;',
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 next_date => to_date('10-10-2006 08:48:34', 'dd-mm-yyyy hh24:mi:ss'),
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 interval => 'sysdate+1');
聽 commit;
end;
/



Hally 2006-10-09 09:28 鍙戣〃璇勮
]]>
Linux 鍙戣鐗圲buntuhttp://www.tkk7.com/hallywang/archive/2006/10/01/linux_ububtu.htmlHallyHallySun, 01 Oct 2006 12:44:00 GMThttp://www.tkk7.com/hallywang/archive/2006/10/01/linux_ububtu.htmlhttp://www.tkk7.com/hallywang/comments/73156.htmlhttp://www.tkk7.com/hallywang/archive/2006/10/01/linux_ububtu.html#Feedback2http://www.tkk7.com/hallywang/comments/commentRss/73156.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/73156.html
棣栧厛鎰熻鍒扮殑閫熷害寰堝揩錛屼互鍓嶄篃鐢ㄨ繃redhat銆傜粨鏋滆繍琛屼竴涓猰ysql錛宼omcat錛宔clipse灝辨參鐨勪笉鍍忔牱錛屽浘褰㈢晫闈?br />
緇忓父姝繪帀銆?br />
涓鏍風(fēng)殑紜歡閰嶇疆錛岀敤浜唘buntu錛屽緢鎯婅浠栫殑閫熷害銆傚懙鍛?br />
ubuntu鏈鏂扮増鏈殑鏄?6.06 dapper銆?鏈夊叴瓚g殑鏈嬪弸鍙互鍘葷湅鐪?www.ubuntu.org.cn

鍙互涓嬭澆鍒葷洏瀹夎錛屼篃鍙互鐢寵鍏嶈垂鐨勫厜鐩橈紝浠庡浗澶栵紙閮ㄥ垎鍙兘浼?xì)浠庨娓Q夐偖瀵勮繃鏉ョ殑錛屽畬鍏ㄥ厤璐廣傚彧瑕?br />
濉啓鍦板潃濮撳悕銆?a >https://shipit.ubuntu.com/

Ubuntu 6.06瀹夎閰嶇疆璇︾粏璇存槑錛?a >http://www.qqhally.com/mvnforum/viewthread?thread=7

涓嬭澆鍦板潃錛?a >http://www.ubuntu.org.cn/download
wiki錛?a >http://wiki.ubuntu.org.cn/
璁哄潧錛?a >http://forum.ubuntu.org.cn/

鍙﹀浠栫殑server鐗堟湰鐨勫湪浼佷笟搴旂敤涓婅〃鐜頒篃鏄緢濂界殑銆?br />
QQ 璁ㄨ緹?22218623 涓緹? 28781468 浜岀兢



Hally 2006-10-01 20:44 鍙戣〃璇勮
]]>
Hibernate3+mysql4 涓枃闂瑙e喅鏂規(guī). http://www.tkk7.com/hallywang/archive/2006/09/16/70068.htmlHallyHallySat, 16 Sep 2006 10:59:00 GMThttp://www.tkk7.com/hallywang/archive/2006/09/16/70068.htmlhttp://www.tkk7.com/hallywang/comments/70068.htmlhttp://www.tkk7.com/hallywang/archive/2006/09/16/70068.html#Feedback2http://www.tkk7.com/hallywang/comments/commentRss/70068.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/70068.html闃呰鍏ㄦ枃

Hally 2006-09-16 18:59 鍙戣〃璇勮
]]>
Ubuntu涓嬪畨瑁呭嵏杞芥闈㈢郴緇?/title><link>http://www.tkk7.com/hallywang/archive/2006/08/21/64849.html</link><dc:creator>Hally</dc:creator><author>Hally</author><pubDate>Mon, 21 Aug 2006 10:01:00 GMT</pubDate><guid>http://www.tkk7.com/hallywang/archive/2006/08/21/64849.html</guid><wfw:comment>http://www.tkk7.com/hallywang/comments/64849.html</wfw:comment><comments>http://www.tkk7.com/hallywang/archive/2006/08/21/64849.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/hallywang/comments/commentRss/64849.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/hallywang/services/trackbacks/64849.html</trackback:ping><description><![CDATA[聽聽聽 <span id="npzhvfz" class="postbody"> 瀹夎GNOME鏂規(guī)硶錛? <br /> sudo apt-get install gnome <br /> 鎴栬? <br /> sudo apt-get install gnome-desktop <br /><br /> 鍒犻櫎Gnome鐨勬柟娉曪細(xì) <br /> apt-get --purge remove liborbit2<br /><br /><br />錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳<br /><br />瀹夎kde鏂規(guī)硶:<br />sudo apt-get install kde錛堝疄楠屽彲浠ワ級<br /><br /></span><span id="jdnptnp" class="postbody"> 瀹夎KDE: <br /> 鏂規(guī)硶涓錛? <br /> sudo apt-get install kubuntu-desktop <br /> sudo apt-get install language-pack-kde-zh language-pack-kde-zh-base language-pack-zh language-pack-zh-base language-support-zh <br /> 鏂規(guī)硶浜岋細(xì) <br /> sudo apt-get install kde kde-i18n-zhcn <br /> sudo apt-get install language-pack-kde-zh language-pack-kde-zh-base language-pack-zh language-pack-zh-base language-support-zh <br /></span><br /><span id="dlrpdnp" class="postbody"><span style="color: blue;">鍒犻櫎KDE鐨勬柟娉曪細(xì)</span><br /> zerolin 鍐欓亾: <br /> for 5.04: <br /></span><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr><td><span id="ttvtzpn" class="genmed"><b>浠g爜:</b></span></td></tr><tr><td class="code">apt-get --purge remove kdelibs4 libarts1</td></tr></tbody></table><span id="ljdpjrf" class="postbody"><br /><br /> for 5.10: <br /></span><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr><td><span id="ttnxbrf" class="genmed"><b>浠g爜:</b></span></td></tr><tr><td class="code">apt-get --purge remove kdelibs4c2 libarts1c2</td></tr></tbody></table><span id="rrtvhxf" class="postbody"><br /><br /> for 6.06: <br /></span><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr><td><span id="jpbnxpd" class="genmed"><b>浠g爜:</b></span></td></tr><tr><td class="code">apt-get --purge remove kdelibs4c2a libarts1c2a</td></tr></tbody></table><span id="trdfzhx" class="postbody"></span><br /><span id="bbfpbrf" class="postbody"><br /><br /></span><img src ="http://www.tkk7.com/hallywang/aggbug/64849.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/hallywang/" target="_blank">Hally</a> 2006-08-21 18:01 <a href="http://www.tkk7.com/hallywang/archive/2006/08/21/64849.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>j2me鏁堢巼闂http://www.tkk7.com/hallywang/archive/2006/08/18/64282.htmlHallyHallyFri, 18 Aug 2006 02:50:00 GMThttp://www.tkk7.com/hallywang/archive/2006/08/18/64282.htmlhttp://www.tkk7.com/hallywang/comments/64282.htmlhttp://www.tkk7.com/hallywang/archive/2006/08/18/64282.html#Feedback1http://www.tkk7.com/hallywang/comments/commentRss/64282.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/64282.html鎻愰珮鏁堢巼涓漢緇忛獙涓昏鏄湪娓告垙鐨勪富寰幆涓笉鑳芥湁createImage浠g爜鐨勫嚭鐜幫紝榪欎釜瀵規(guī)晥鐜囩殑褰卞搷錛岄偅鏄寚鏁扮駭鐨?/p>

鏂規(guī)硶灝辨槸鍦ㄥ垵濮嬪寲鏃跺欐妸鎵鏈夌敤鐨勫浘鐗噇oad榪涘唴瀛樸傛敞鎰忓埌榪欑偣錛岀粨鍚堜笅闈㈢殑錛屽氨鍙互鍐欏嚭楂樻晥鐜囩殑浠g爜銆?/p>

鍏朵粬涓浜涙妧宸э紙鎽樿嚜 J2ME_Game_Development_with_MIDP2錛夛細(xì)
聽1銆傚噺灝戦潰鍚戝璞$殑浠g爜
聽2銆傚噺灝戜嬌鐢ㄧ涓夋柟搴?br />3銆?鍑忓皯閫氳
4銆傜粍鍚堝浘璞?br />5銆傚瀮鍦懼洖鏀?br />6銆傜煭灝忕殑綾誨悕錛屽彉閲忓悕錛堟販娣嗘潵瀹炵幇錛?br />7銆傚叾浠栵細(xì)
聽聽聽聽聽聽 a銆傜敤x錛嬶紳1 浠f浛x 錛?x錛?
聽聽聽聽聽聽 b銆傜敤stringbuffer浠f浛string
聽聽聽聽聽聽 c銆傜洿鎺ュ瓨鍙栫被涓彉閲忚姣攇et錛宻et鏂規(guī)硶蹇?br />聽聽聽聽聽聽 d銆備嬌鐢ㄦ湰鍦板彉閲忔瘮浣跨敤綾繪垨瀹炰緥鍙橀噺鏇存湁鏁堢巼
聽聽聽聽聽聽 e銆傚皯浣跨敤鏁扮粍錛屽浣跨敤鍙橀噺
聽聽聽聽聽聽 f銆?寰幆涓掑噺姣旈掑蹇?br />聽聽聽聽聽聽 g銆傞伩鍏嶅驚鐜腑榪涜鍚屾
聽聽聽聽聽聽 h銆傚垹闄ゅ驚鐜腑鐨勫父閲忚繍綆?br />聽聽聽聽聽聽 i銆傞噸澶嶅埄鐢ㄥ璞?br />聽聽聽聽聽聽 j銆備笉浣跨敤鐨勫璞$疆涓簄ull錛岀壒鍒槸Thread
聽聽聽聽聽聽 K銆傚敖閲忎嬌鐢ㄥ唴緗柟娉曪紝姣斿瀹炵幇鏁扮粍鎷瘋礉錛屼嬌鐢⊿ystem.arrycoppy姣旇嚜宸卞疄鐜拌蹇?/p>

Hally 2006-08-18 10:50 鍙戣〃璇勮
]]>
閽堝s60鍏ㄥ睆鎯呭喌涓媑etHeight鐨凚UG閲嶈澆getHeight鏂規(guī)硶http://www.tkk7.com/hallywang/archive/2006/08/04/j2me.htmlHallyHallyFri, 04 Aug 2006 05:08:00 GMThttp://www.tkk7.com/hallywang/archive/2006/08/04/j2me.htmlhttp://www.tkk7.com/hallywang/comments/61719.htmlhttp://www.tkk7.com/hallywang/archive/2006/08/04/j2me.html#Feedback0http://www.tkk7.com/hallywang/comments/commentRss/61719.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/61719.html鍦∟okia S60鐪熸満涓婅繖鏄竴涓狟UG浼間箮錛?br />setFullScreenMode(true);璋冪敤涔嬪悗錛?br />getHeight()榪斿洖鐨勫茍涓嶆槸鍏ㄥ睆鍚庣殑楂樺害錛屾瘮濡備粬鏈簲璇ヨ繑鍥?08錛?br />浣嗘槸浠栧嵈榪斿洖144錛屾墍浠?鍦ㄧ湡鏈烘祴璇曟椂涔熻灝忓績nokia s60鐨勮繖涓猙ug錛?br />涓嶈鍥犱負(fù)灞忓箷楂樺害鑾峰彇涓嶆紜紝瀵艱嚧fillRect涓庝綘棰勬兂涓嶄竴鑷淬?br />
浠ヤ笂榪欎釜BUG錛屾祴璇曡繃Nokia 7610灝辨槸榪欐牱銆?br />鎵浠ユ垜蹇呴』鍦╯etFullScreenMode(true);鍏ㄥ睆涔嬪悗
閫氳繃涓嬮潰浠g爜鏉ヨ幏鍙栫湡瀹炵殑canvas楂樺害錛?/p>/**
* 閽堝s60鍏ㄥ睆鎯呭喌涓媑etHeight鐨凚UG
*/
public int getHeight() {
try {
if (System.getProperty("microedition.platform").indexOf("Series60") >= 0) {
return 208;
} else{
return super.getHeight();
}
} catch (Exception e) {
return super.getHeight();
}
}

Hally 2006-08-04 13:08 鍙戣〃璇勮
]]>
鍦ㄨ鍧涗笂瀛︿範(fàn)鍒扮殑j2me閲岄潰璇誨彇txt鏂囨湰鐨勬柟娉?鏀寔涓枃)http://www.tkk7.com/hallywang/archive/2006/07/07/57157.htmlHallyHallyFri, 07 Jul 2006 08:47:00 GMThttp://www.tkk7.com/hallywang/archive/2006/07/07/57157.htmlhttp://www.tkk7.com/hallywang/comments/57157.htmlhttp://www.tkk7.com/hallywang/archive/2006/07/07/57157.html#Feedback0http://www.tkk7.com/hallywang/comments/commentRss/57157.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/57157.html聽 *
聽 *聽@todo聽涓瀹氳紜畾璇誨彇鐨勬枃浠朵負(fù)utf-8鏍煎紡瑕佷笉鐒朵細(xì)鍑洪敊,鐢╱e鍙互杞崲鎴恥tf-8
聽 * @param name
聽 *聽聽聽聽聽聽聽聽聽聽聽 String
聽 * @return String
聽 */
聽public String getTextByUTF(String name) {
聽聽String strReturn = "";
聽聽int ic;
聽聽InputStream in = null;
聽聽ByteArrayOutputStream baos = new ByteArrayOutputStream();
聽聽DataOutputStream dos = new DataOutputStream(baos);
聽聽byte[] myData;
聽聽byte[] buffer = new byte[1024];
聽聽try {
聽聽聽in = getClass().getResourceAsStream(name);
聽聽聽if (in != null) {
聽聽聽聽while ((ic = in.read(buffer)) > 0) {
聽聽聽聽聽dos.write(buffer, 0, ic);
聽聽聽聽}
聽聽聽聽myData = baos.toByteArray();
聽聽聽聽strReturn = new String(myData, "UTF-8");
聽聽聽聽in.close();
聽聽聽}
聽聽聽dos.close();
聽聽聽baos.close();
聽聽} catch (Exception e) {
聽聽聽System.out.println("getTextByUTF Error:" + e.toString());
聽聽} finally {
聽聽聽in = null;
聽聽聽dos = null;
聽聽聽baos = null;
聽聽}
聽聽return strReturn;
聽}

Hally 2006-07-07 16:47 鍙戣〃璇勮
]]>
java涓鐞唄ttp榪炴帴瓚呮椂.http://www.tkk7.com/hallywang/archive/2006/07/06/56964.htmlHallyHallyThu, 06 Jul 2006 07:50:00 GMThttp://www.tkk7.com/hallywang/archive/2006/07/06/56964.htmlhttp://www.tkk7.com/hallywang/comments/56964.htmlhttp://www.tkk7.com/hallywang/archive/2006/07/06/56964.html#Feedback0http://www.tkk7.com/hallywang/comments/commentRss/56964.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/56964.htmlhttp鏄棤鐘舵佺殑榪炴帴,涓嶅儚socket鍙互鏈塼imeout鐨勫紓甯?鍥犳鍦ㄥ垽鏂秴鏃朵笂涓鐩存瘮杈冨洶鎵?

榪欐鏃墮棿鍋歫2me鐨勪竴涓皬娓告垙.鐢ㄥ埌浜唄ttp榪炴帴,瀛︿範(fàn)浜嗚鍧涗笂璇寸殑涓縐嶆柟娉?

"澹版槑涓涓猙oolean鍏叡鍙橀噺錛岃〃鏄庡綋鍓峢ttpconnection鏄惁寰楀埌鏈嶅姟鍣ㄥ洖搴斻?/p>

浣犵殑榪炴帴綰跨▼涓湪榪炴帴涔嬪墠緗繖涓彉閲忎負(fù)false錛?/p>

鍙﹁搗涓涓洃瑙嗙嚎紼嬶紝鎷垮埌閭d釜HttpConnection鐨勮繛鎺ュ璞★紝騫跺驚鐜洃瑙嗚繖涓猙oolean鍏叡鍙橀噺銆傚鏋滄寚瀹氭椂闂村唴(20縐掑悗)浣犵殑boolean鍏叡鍙橀噺榪樻槸false錛岄偅涔堝氨涓誨姩緗甴ttpconnection=null銆傝繖鏍鳳紝閭h竟榪炴帴綰跨▼灝變細(xì)鎶涘嚭寮傚父閫鍑烘潵銆?

鍐欎簡Timer綾繪潵瀹炵幇.(瀛︿範(fàn)鍥藉涓涓綉绔欎笂鐨勫啓娉?

class Timer extends Thread {
聽聽/** 姣忎釜澶氬皯姣媯嫻嬩竴嬈?*/
聽聽protected int m_rate = 100;

聽聽/** 瓚呮椂鏃墮棿闀垮害姣璁$畻 */
聽聽private int m_length;

聽聽/** 宸茬粡榪愯鐨勬椂闂?*/
聽聽private int m_elapsed;

聽聽/**
聽聽 * 鏋勯犲嚱鏁?br />聽聽 *
聽聽 * @param length
聽聽 *聽聽聽聽聽聽聽聽聽聽聽 Length of time before timeout occurs
聽聽 */
聽聽public Timer(int length) {
聽聽聽// Assign to member variable
聽聽聽m_length = length;

聽聽聽// Set time elapsed
聽聽聽m_elapsed = 0;
聽聽}
聽聽/**
聽聽 * 閲嶆柊璁℃椂
聽聽 *
聽聽 */

聽聽public synchronized void reset() {
聽聽聽m_elapsed = 0;
聽聽聽System.out.println("reset timer");
聽聽}
聽聽/**
聽聽 * 鏁呮剰璁劇疆涓鴻秴鏃?鍙互鍦ㄦ湇鍔″櫒鏈夎繑鍥?浣嗘槸閿欒榪斿洖鐨勬椂鍊欑洿鎺ヨ皟鐢ㄨ繖涓?褰撴垚瓚呮椂澶勭悊
聽聽 *
聽聽 */
聽聽public synchronized void setTimeOut()
聽聽{
聽聽聽m_elapsed = m_length+1;
聽聽}

聽聽/**
聽聽 聽*/
聽聽public void run() {
聽聽聽// 寰幆

聽聽聽System.out.println("timer running");
聽聽聽for (;;) {
聽聽聽聽// Put the timer to sleep
聽聽聽聽try {
聽聽聽聽聽Thread.sleep(m_rate);
聽聽聽聽} catch (InterruptedException ioe) {
聽聽聽聽聽continue;
聽聽聽聽}

聽聽聽聽synchronized (this) {
聽聽聽聽聽// Increment time remaining
聽聽聽聽聽m_elapsed += m_rate;

聽聽聽聽聽// Check to see if the time has been exceeded
聽聽聽聽聽if (m_elapsed > m_length && !isConnActive) { //isConnActive 涓哄叏灞鍙橀噺
聽聽聽聽聽聽// Trigger a timeout
聽聽聽聽聽聽timeout();
聽聽聽聽聽聽break;
聽聽聽聽聽}
聽聽聽聽}

聽聽聽}
聽聽}

聽聽/**
聽聽 * 瓚呮椂鏃跺欑殑澶勭悊
聽聽 *
聽聽 */
聽聽public void timeout() {
聽聽聽聽聽聽httpConnection = null;
聽聽聽聽聽聽System.out.println("conn time > " + TIME_OUT + " ms");
聽聽聽聽}
聽}


涓嶇煡閬撳ぇ瀹舵湁娌℃湁鏇村ソ鐨勬柟娉?br />
鏈涘洖澶嶈祼鏁?



Hally 2006-07-06 15:50 鍙戣〃璇勮
]]>
嬈㈣繋澶у鍔犲叆鎴戠殑Ubuntu linux QQ緹?緹ゅ彿: 22218623http://www.tkk7.com/hallywang/archive/2006/03/21/36561.htmlHallyHallyTue, 21 Mar 2006 01:45:00 GMThttp://www.tkk7.com/hallywang/archive/2006/03/21/36561.htmlhttp://www.tkk7.com/hallywang/comments/36561.htmlhttp://www.tkk7.com/hallywang/archive/2006/03/21/36561.html#Feedback2http://www.tkk7.com/hallywang/comments/commentRss/36561.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/36561.html

Hally 2006-03-21 09:45 鍙戣〃璇勮
]]>
鍒氳浜哢buntu,鎰熻涓嶉敊http://www.tkk7.com/hallywang/archive/2006/03/17/35797.htmlHallyHallyFri, 17 Mar 2006 03:34:00 GMThttp://www.tkk7.com/hallywang/archive/2006/03/17/35797.htmlhttp://www.tkk7.com/hallywang/comments/35797.htmlhttp://www.tkk7.com/hallywang/archive/2006/03/17/35797.html#Feedback4http://www.tkk7.com/hallywang/comments/commentRss/35797.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/35797.html
瀹炲湪鍙椾笉浜咶C4鐨勯熷害浜?鐗瑰埆鏄繍琛?Eclipse

鍓嶅ぉ鍒犱簡FC4,瑁呬簡Ubuntu,閫熷害寰堝揩,鍛靛懙

鑰屼笖璧勬簮搴撲赴瀵岀殑寰?涓枃鏂囨。鏇存槸涓板瘜,鏂版墜瀹屽叏涓嶉渶瑕侀棶鍒漢,鐪嬪畼鏂圭殑鏂囨。灝卞彲浠ュ緢濂界殑瀹夎閰嶇疆

聽璇曚簡涓涓嬭繍琛孍clipse,姣斿湪win涓嬫參涓嶄簡澶氬皯.

浠婂ぉ鍥炲幓瑕佽瘯涓嬪湪Ubuntu涓嬫墦cs,欖斿吔.

鍝堝搱

鍦╨inux涓嬫墦cs,欖斿吔,涓嶇煡閬撴庝箞鏍峰摝

鏈夊叴瓚g殑鏈嬪弸鍙互涓璧風(fēng)爺絀跺摝

鐪嬫垜鐨勫叕鍛婁笂,鏈塙buntu鐨勫畼鏂圭綉绔?鍦ㄤ笂闈綘鍙互涓嬭澆鍒板畨瑁呮枃浠?濡傛灉浣犲彲浠ョ瓑寰?鍙互鍘葷敵璇蜂粬鐨勫厤璐瑰厜鐩?br />
涓嬮潰鏄敵璇峰湴鍧

https://shipit.ubuntu.com/

綆鍗曠殑娉ㄥ唽涓涓嬪氨鍙互浜?涓鑸渶瑕?,3涓湀鎵嶅彲浠ユ敹鍒板厜鐩?

Hally 2006-03-17 11:34 鍙戣〃璇勮
]]>
MyEclipse4 鐮磋В 閫傚悎 4.0 4.1 4.2http://www.tkk7.com/hallywang/archive/2006/03/10/34610.htmlHallyHallyFri, 10 Mar 2006 02:11:00 GMThttp://www.tkk7.com/hallywang/archive/2006/03/10/34610.htmlhttp://www.tkk7.com/hallywang/comments/34610.htmlhttp://www.tkk7.com/hallywang/archive/2006/03/10/34610.html#Feedback3http://www.tkk7.com/hallywang/comments/commentRss/34610.htmlhttp://www.tkk7.com/hallywang/services/trackbacks/34610.html
http://free5.ys168.com/?hallywang

寰堝ソ鐢?鍢垮樋.

Hally 2006-03-10 10:11 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲高清在线观看| 久久精品国产亚洲网站| 黄色毛片免费观看| 国产亚洲高清不卡在线观看| 69国产精品视频免费| 日本亚洲中午字幕乱码| 中文字幕亚洲日韩无线码| 日本免费人成在线网站| 羞羞漫画在线成人漫画阅读免费| av片在线观看永久免费| 国产亚洲免费的视频看| 国产成人免费高清激情明星| 色综合久久精品亚洲国产| 亚洲精品无码久久一线| 丁香花在线观看免费观看| 一级毛片a免费播放王色电影 | 人人狠狠综合久久亚洲88| 真实国产乱子伦精品免费| 亚洲av成人一区二区三区观看在线| 国产精一品亚洲二区在线播放| 成人在线视频免费| 久久免费国产精品一区二区| 亚洲精品无码中文久久字幕| 亚洲大尺度无码专区尤物| 日本免费人成黄页网观看视频| 久久精品国产影库免费看| 蜜臀亚洲AV无码精品国产午夜.| 久久亚洲AV午夜福利精品一区| 日韩免费一级毛片| 亚洲日本在线免费观看| 国产免费黄色无码视频| 亚洲国产精品无码第一区二区三区 | 国产国拍精品亚洲AV片| 一区二区无码免费视频网站| 91在线免费视频| 美女视频黄视大全视频免费的| 亚洲Av高清一区二区三区| 亚洲人成亚洲精品| 国产亚洲色婷婷久久99精品91| 蜜桃精品免费久久久久影院| 日韩高清在线免费观看|