锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩亚洲欧美在线,成人亚洲一区,国产精品久久久久久久久久直播http://www.aygfsteel.com/y3320987/zh-cnFri, 20 Jun 2025 01:28:33 GMTFri, 20 Jun 2025 01:28:33 GMT60[瀵煎叆]浣跨敤spring鏁村悎struts鎬葷粨http://www.aygfsteel.com/y3320987/articles/314941.htmlTempoTempoTue, 09 Mar 2010 03:05:00 GMThttp://www.aygfsteel.com/y3320987/articles/314941.htmlhttp://www.aygfsteel.com/y3320987/comments/314941.htmlhttp://www.aygfsteel.com/y3320987/articles/314941.html#Feedback0http://www.aygfsteel.com/y3320987/comments/commentRss/314941.htmlhttp://www.aygfsteel.com/y3320987/services/trackbacks/314941.html1銆佷嬌鐢ˋctionSupport(紺轟緥涓嬭澆 )


聽聽聽聽聽聽 org.springframework.web.struts.ActionSupport 綾繪彁渚涗簡涓涓猤etWebApplicationContext() 鏂規硶錛屽彲鐢ㄤ簬鎵嬪姩鍒涘緩涓涓?Spring 鐜銆?/p>

聽聽聽聽聽聽 榪欑鏂瑰紡寰堢畝鍗曞茍涓旀槗浜庣悊瑙c備絾灝?Struts Action涓?Spring 妗嗘灦鑰﹀悎鍦ㄤ竴璧楓傚鏋滄兂鏇挎崲鎺? Spring錛岄偅涔堝繀欏婚噸鍐欎唬鐮併? 騫朵笖錛岀敱浜?Struts Action涓嶅湪 Spring 鐨勬帶鍒朵箣涓嬶紝鎵浠ュ畠涓嶈兘鑾峰緱 Spring AOP 鐨勪紭鍔褲傚綋浣跨敤澶氶噸鐙珛鐨?Spring 鐜鏃訛紝榪欑鏂瑰紡鍙兘鏈夌敤錛? 浣嗘槸鍦ㄥぇ澶氭暟鎯呭喌涓嬶紝榪欑鏂規硶涓嶅鍙﹀涓ょ鏂規硶鍚堥傘?/p>


2銆佽鐩?RequestProcessor (紺轟緥涓嬭澆 )


聽聽聽聽聽聽 浣跨敤 org.springframework.web.struts.DelegatingRequestProcessor 綾繪潵瑕嗙洊 Struts
鐨?RequestProcessor 澶勭悊紼嬪簭錛屽彲灝?Spring 浠?Struts Action 涓垎紱誨嚭鏉ャ傚湪struts-config涓殑閰嶇疆濡備笅錛?/p>

<controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor"/> 
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
  <set-property property="csntextConfigLocation" value="/WEB-INF/beans.xml"/>
</plug-in>

聽聽聽聽聽聽 浼樼偣鏄敱浜?Struts Action 娉ㄦ剰涓嶅埌 Spring 鐨勫瓨鍦紝鎵浠ヤ笉闇瑕侀噸鍐?Struts 浠g爜灝卞彲浠ヤ嬌鐢ㄥ叾浠栨帶鍒跺弽杞鍣ㄦ潵鏇挎崲鎺? Spring銆?/p>

3銆佸皢Action綆$悊濮旀墭緇橲pring (紺轟緥涓嬭澆 )


聽聽聽聽聽聽 閫氳繃鍦╯truts-config涓敞鍐孉ction鏃朵嬌鐢╫rg.springframework.web.struts.DelegatingActionProxy綾繪潵瀹炵幇錛岃鏂瑰紡鐨勪紭鐐瑰涓嬶細
聽聽聽聽聽聽聽聽聽聽聽聽 a)錛氭病鏈?Spring 鐨勮瘽錛屾墍鏈夌殑 Struts 鍔ㄤ綔閮藉繀欏繪槸綰跨▼瀹夊叏鐨勩傚鏋滆緗?<bean> 鏍囪鐨?singleton 灞炴犅?涓衡渇alse鈥濓紝閭d箞涓嶇鐢ㄤ綍縐嶆柟娉曪紝搴旂敤紼嬪簭閮藉皢鍦ㄦ瘡涓涓姹備笂鏈変竴涓柊鐢熸垚鐨勫姩浣滃璞°?br> 聽聽聽聽聽聽聽聽聽聽聽聽 b)錛氬彲浠ュ埄鐢?Spring 鐨勭敓鍛藉懆鏈熸柟娉曘備緥濡傦紝褰撳疄渚嬪寲 Struts 鍔ㄤ綔鏃訛紝<bean> 鏍囪鐨?init-method 灞炴?琚敤浜庤繍琛屼竴涓柟娉曘傜被浼煎湴錛屽湪浠庡鍣ㄤ腑鍒犻櫎 bean 涔嬪墠錛宒estroy-method 灞炴ф墽琛屼竴涓柟娉曘傝繖浜涙柟娉曟槸綆$悊鏄傝吹瀵硅薄鐨勫ソ鍔炴硶錛屽畠浠互涓縐嶄笌 Servlet 鐢熷懡鍛ㄦ湡鐩稿悓鐨勬柟寮忚繘琛岀鐞嗐?br> 聽聽聽聽聽聽聽聽聽聽聽聽聽 c)錛歋truts Action涓嶄簡瑙?Spring錛屼笉瀵逛唬鐮佷綔浠諱綍鏀瑰彉灝卞彲鐢ㄤ簬闈?Spring 搴旂敤紼嬪簭涓俁equestProcessor 鐨勬敼鍙樹笉浼氬獎鍝嶅畠錛屽茍涓斿畠鍙互鍒╃敤 Spring AOP 鐗規х殑浼樼偣銆?/p>

宸叉湁 0 浜哄彂琛ㄧ暀璦錛岀寷鍑?>>榪欓噷<<-鍙備笌璁ㄨ


JavaEye鎺ㄨ崘





鏂囩珷鏉ユ簮:http://complex.javaeye.com/blog/611042

Tempo 2010-03-09 11:05 鍙戣〃璇勮
]]>
[瀵煎叆]璋堣皥鎴戞墍浜嗚В鐨刦lex鍦ㄩ」鐩腑鐨勪紭緙虹偣http://www.aygfsteel.com/y3320987/articles/297242.htmlTempoTempoMon, 05 Oct 2009 04:14:00 GMThttp://www.aygfsteel.com/y3320987/articles/297242.htmlhttp://www.aygfsteel.com/y3320987/comments/297242.htmlhttp://www.aygfsteel.com/y3320987/articles/297242.html#Feedback0http://www.aygfsteel.com/y3320987/comments/commentRss/297242.htmlhttp://www.aygfsteel.com/y3320987/services/trackbacks/297242.html 鏈榪戠敤flex鍋氫簡涓涓や釜欏圭洰,濡傞,鐜板湪璋堣皥鎴戞墍浜嗚В鐨刦lex鍦ㄩ」鐩腑鐨勪紭緙虹偣銆?


    浼樼偣:
       1銆丗LEX鏈澶х殑浼樼偣褰撶劧寰楀睘璺ㄥ鉤鍙拌法嫻忚鍣ㄤ簡,鍦ㄤ笉鍚屽鉤鍙頒笅鐨勪笉鍚屾祻瑙堝櫒涓嬫晥鏋滀竴鏍?榪欐棤鐤戞槸寰堝叿鏈夎鎯戝姏鐨?
       2銆佸鉤鍙拌嚜甯﹀ぇ閲廢I Component,璁╀綘寮鍙戞椂鍙俊鎵嬫憳鏉?闄嶄綆浜嗗紑鍙戣繖浜沀I鐨勬垚鏈?濡俆ree,LinkButton絳?
       3銆佽壇濂界殑鎷栨嫿鏀寔
       4銆佹櫘鍙婇珮,浣跨敤flash鐨勪漢緹や篃宸茬粡寰堝簽澶т簡
       5銆佽壇濂界殑鐢ㄦ埛浣撻獙
       6銆侀伒寰狤CMAScript鏍囧噯,鏈夎繃JS鍩虹鐨勫紑鍙戜漢鍛樿兘蹇熺殑涓婃墜
       7銆佸濯掍綋鐨勬敮鎸?
    緙虹偣:
       1銆佹棤娉曡劚紱繪彃浠?
       2銆佸唴瀛樻硠婕?
       3銆佸畼鏂規彁渚涚殑寮鍙戝伐鍏風紪璇戦熷害澶參,褰搈odule榪囧鏃?榪欐棤鐤戜細鎴愪負涓縐嶅櫓姊?
       4銆佹暟鎹睍紺烘柟闈㈠姛鑳戒綋楠屽緢寮哄ぇ,浣嗗湪flex搴旂敤涓婅緭鍏ユ暟鎹綋楠岃緝宸?涓昏鏄緭鍏ラ熷害澶參浜?
       5銆佸鏋滈渶瑕佹嫇灞曟煇縐峌I鎴栧疄鐜頒竴涓璮lex鎵涓嶅叿鏈夌殑UI,閭d箞闇瑕佸紑鍙戜漢鍛樺叿鏈変竴瀹氱殑鍘焌s鍩虹,鎴愭湰琚姞澶?
       6銆乻wf鏂囦歡澶ぇ,鍗充嬌緇忚繃涓緋誨垪鐨?鍑忚偉"榪囩▼,渚濈劧澶у緱鏈変簺涓嶅ソ鎺ュ彈
       7銆?
    寮曠敤
    RIA瀵屽獟浣撹鐨勫氨鏄伒媧?姣斿flex瑕佹兂瀹炵幇瑙嗛閫氳瘽,閭f槸鐩稿綋楹葷儲鐨?棣栧厛瑕佸紑鍙戜竴涓狝ctiveX鎻掍歡瑕佺敤鎴峰畨瑁?鐒跺悗鍐嶄笌榪欎釜鎻掍歡浜掔浉閫氫俊,鑰屼笖榪欓噷鐨勪笌鎻掍歡閫氫俊涔熸槸姣旇緝楹葷儲鐨?/div>
       8銆佹暟鎹氫俊涓昏鏄噰鐢?Httpservice鍜宻oa鐨勬ā寮忚繘琛?榪欐牱鐨勬ā寮忎紶杈撴晥鐜囦笉楂?褰撶劧涔熶笉鑳借寰堜綆

    鎬葷粨:
       浠ヤ笂灝辨槸鎴戞墍浜嗚В鐨刦lex鍦ㄩ」鐩腑鐨勪紭緙虹偣,甯屾湜鏈夎繃flex鐨勬湅鍙嬩滑涓嶅悵璧愭暀,鍛靛懙.
鏂囩珷鏉ユ簮:http://probe.javaeye.com/blog/481894

Tempo 2009-10-05 12:14 鍙戣〃璇勮
]]>
[瀵煎叆]flex DataGrid琛岀潃鑹茬殑瀹炵幇(rowcolor)http://www.aygfsteel.com/y3320987/articles/297243.htmlTempoTempoMon, 05 Oct 2009 04:14:00 GMThttp://www.aygfsteel.com/y3320987/articles/297243.htmlhttp://www.aygfsteel.com/y3320987/comments/297243.htmlhttp://www.aygfsteel.com/y3320987/articles/297243.html#Feedback0http://www.aygfsteel.com/y3320987/comments/commentRss/297243.htmlhttp://www.aygfsteel.com/y3320987/services/trackbacks/297243.html 搴熻瘽涓嶈錛岀湅浠g爜:
package
{
import flash.display.Sprite;

import mx.controls.DataGrid;

public class RowColorDataGrid extends DataGrid
{
public function RowColorDataGrid()
{
super();
}

override protected function drawRowBackground(s:Sprite,rowIndex:int, y:Number, height:Number, color:uint, dataIndex:int):void{
if(dataIndex<super.dataProvider.length){
super.drawRowBackground(s, rowIndex, y, height, 0x49FFAD, dataIndex);
}else{
super.drawRowBackground(s, rowIndex, y, height, color, dataIndex);
}
}
}
}

鍏堣嚜瀹氫箟涓涓狣ataGrid綾伙紝璇ョ被緇ф壙鑷狣ataGrid綾匯傜劧鍚庡湪鑷繁鐨勪唬鐮佷腑寮曠敤璇ョ被鍗沖彲錛屽涓嬶細
<?xml version="1.0"?>
<!-- DataGrid control example. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:probe="*">

<mx:XMLList id="employees">
<employee>
<name>Christina Coenraets</name>
<phone>555-219-2270</phone>
<email>ccoenraets@fictitious.com</email>
<active>true</active>
</employee>
<employee>
<name>Joanne Wall</name>
<phone>555-219-2012</phone>
<email>jwall@fictitious.com</email>
<active>true</active>
</employee>
<employee>
<name>Maurice Smith</name>
<phone>555-219-2012</phone>
<email>maurice@fictitious.com</email>
<active>false</active>
</employee>
<employee>
<name>Mary Jones</name>
<phone>555-219-2000</phone>
<email>mjones@fictitious.com</email>
<active>true</active>
</employee>
</mx:XMLList>

<mx:Panel title="琛岀潃鑹睤ataGrid" height="100%" width="100%"
paddingTop="10" paddingLeft="10" paddingRight="10">
<probe:RowColorDataGrid id="dg" width="100%" height="100%" rowCount="5" dataProvider="{employees}">
<probe:columns>
<mx:DataGridColumn dataField="name" headerText="Name"/>
<mx:DataGridColumn dataField="phone" headerText="Phone"/>
<mx:DataGridColumn dataField="email" headerText="Email"/>
</probe:columns>
</probe:RowColorDataGrid>

<mx:Form width="100%" height="100%">
<mx:FormItem label="Name">
<mx:Label text="{dg.selectedItem.name}"/>
</mx:FormItem>
<mx:FormItem label="Email">
<mx:Label text="{dg.selectedItem.email}"/>
</mx:FormItem>
<mx:FormItem label="Phone">
<mx:Label text="{dg.selectedItem.phone}"/>
</mx:FormItem>
</mx:Form>

</mx:Panel>
</mx:Application>
鏂囩珷鏉ユ簮:http://probe.javaeye.com/blog/481709

Tempo 2009-10-05 12:14 鍙戣〃璇勮
]]>
[瀵煎叆]Flex鍙孻杞寸殑瀹炵幇http://www.aygfsteel.com/y3320987/articles/297244.htmlTempoTempoMon, 05 Oct 2009 04:14:00 GMThttp://www.aygfsteel.com/y3320987/articles/297244.htmlhttp://www.aygfsteel.com/y3320987/comments/297244.htmlhttp://www.aygfsteel.com/y3320987/articles/297244.html#Feedback0http://www.aygfsteel.com/y3320987/comments/commentRss/297244.htmlhttp://www.aygfsteel.com/y3320987/services/trackbacks/297244.html 鏈榪戠敱浜庨」鐩殑闇瑕?鐢╢lex瀹炵幇浜嗕竴涓弻Y杞寸殑Chart,鐜板湪灝嗕唬鐮佹嬁鍑烘潵鏅掓檼!
<?xml version="1.0"?>
<!-- Simple example to demonstrate the LineChart and AreaChart controls. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Script>
<![CDATA[

import mx.collections.ArrayCollection;

[Bindable]
private var expensesAC:ArrayCollection = new ArrayCollection( [
{ Month: "Jan", Wage: 2000, Fine: 100},
{ Month: "Feb", Wage: 1000, Fine: 50},
{ Month: "Mar", Wage: 1500, Fine: 70},
{ Month: "Apr", Wage: 1800, Fine: 30},
{ Month: "May", Wage: 2400, Fine: 50} ]);
]]>
</mx:Script>
<mx:SolidColor id="sc1" color="blue" alpha=".3"/>
<mx:Stroke id = "s1" color="blue" weight="2"/>

<mx:Panel title="LineChart and AreaChart Controls Example"
height="100%" width="100%" layout="horizontal">

<mx:LineChart id="linechart" height="100%" width="100%"
paddingLeft="5" paddingRight="5"
showDataTips="true" dataProvider="{expensesAC}">

<mx:horizontalAxis>
<mx:CategoryAxis categoryField="Month"/>
</mx:horizontalAxis>

<mx:verticalAxis>
<mx:LinearAxis id="first" minimum="0" maximum="200"/>
</mx:verticalAxis>

<mx:secondVerticalAxis>
<mx:LinearAxis id="second" minimum="500" maximum="3000"/>
</mx:secondVerticalAxis>

<mx:series>
<mx:LineSeries verticalAxis="{first}" yField="Fine" form="curve" displayName="Fine"/>
<mx:ColumnSeries verticalAxis="{second}" yField="Wage" displayName="Wage" stroke="{s1}" fill="{sc1}"/>
</mx:series>
</mx:LineChart>
</mx:Panel>
</mx:Application>
鏂囩珷鏉ユ簮:http://probe.javaeye.com/blog/481686

Tempo 2009-10-05 12:14 鍙戣〃璇勮
]]>
[瀵煎叆]Oracle 鍒嗘瀽鍑芥暟鐨勪嬌鐢?/title><link>http://www.aygfsteel.com/y3320987/articles/297245.html</link><dc:creator>Tempo</dc:creator><author>Tempo</author><pubDate>Mon, 05 Oct 2009 04:14:00 GMT</pubDate><guid>http://www.aygfsteel.com/y3320987/articles/297245.html</guid><wfw:comment>http://www.aygfsteel.com/y3320987/comments/297245.html</wfw:comment><comments>http://www.aygfsteel.com/y3320987/articles/297245.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/y3320987/comments/commentRss/297245.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/y3320987/services/trackbacks/297245.html</trackback:ping><description><![CDATA[     鎽樿: Oracle 鍒嗘瀽鍑芥暟浣跨敤浠嬬粛    鍒嗘瀽鍑芥暟鏄痮racle816寮曞叆鐨勪竴涓叏鏂扮殑姒傚康,涓烘垜浠垎鏋愭暟鎹彁渚涗簡涓縐嶇畝鍗曢珮鏁堢殑澶勭悊鏂瑰紡.鍦ㄥ垎鏋愬嚱鏁板嚭鐜頒互鍓?鎴戜滑蹇呴』浣跨敤鑷仈鏌ヨ,瀛愭煡璇㈡垨鑰呭唴鑱旇鍥?鐢氳嚦澶嶆潅鐨勫瓨鍌ㄨ繃紼嬪疄鐜扮殑璇彞,鐜板湪鍙涓鏉$畝鍗曠殑sql璇彞灝卞彲浠ュ疄鐜頒簡,鑰屼笖鍦ㄦ墽琛屾晥鐜囨柟闈篃鏈夌浉褰撳ぇ鐨勬彁楂?涓嬮潰鎴戝皢閽堝鍒嗘瀽鍑芥暟鍋氫竴浜涘叿浣撶殑璇存槑. 浠婂ぉ鎴戜富瑕佺粰澶у浠嬬粛涓...  <a href='http://www.aygfsteel.com/y3320987/articles/297245.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/y3320987/aggbug/297245.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/y3320987/" target="_blank">Tempo</a> 2009-10-05 12:14 <a href="http://www.aygfsteel.com/y3320987/articles/297245.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>InetAddress闂,鍚勪綅澶ц櫨,榪涙潵鐬х灖http://www.aygfsteel.com/y3320987/archive/2009/10/01/297079.htmlTempoTempoThu, 01 Oct 2009 03:48:00 GMThttp://www.aygfsteel.com/y3320987/archive/2009/10/01/297079.htmlhttp://www.aygfsteel.com/y3320987/comments/297079.htmlhttp://www.aygfsteel.com/y3320987/archive/2009/10/01/297079.html#Feedback0http://www.aygfsteel.com/y3320987/comments/commentRss/297079.htmlhttp://www.aygfsteel.com/y3320987/services/trackbacks/297079.html InetAddress address = InetAddress.getByName("192.168.1.1");
while(true){ System.out.println(address.isReachable(1000));
 }
鍒╃敤鎿嶄綔緋葷粺鎵цping 192.168.1.1 -t錛岃緭鍑虹殑緇撴灉琛ㄧず鏈満鍜岃IP鐨勮繛鎺ヤ竴鐩撮兘鏄甯哥殑錛屼絾鎴戝疄鐜扮殑浠g爜榪斿洖鐨勭粨鏋滃嵈鏃惰屼負true錛屾椂鑰屼負false.灝忓紵鍦ㄧ綉涓婁粩緇嗙殑鎼滅儲榪囩浉鍏蟲柟闈㈢殑鐭ヨ瘑錛屼絾閮芥病鏈夋彁鍒拌繖鏍風殑涓涓棶棰橈紝鏈涙湁澶勭悊榪囩被浼奸棶棰樼殑澶ц櫨鎸囩偣涓浜?

Tempo 2009-10-01 11:48 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 泰和县| 阿瓦提县| 安陆市| 镇江市| 陈巴尔虎旗| 许昌市| 海原县| 宁海县| 柞水县| 广德县| 庄浪县| 沂源县| 策勒县| 龙海市| 台江县| 阿合奇县| 赤峰市| 漳浦县| 昌邑市| 恩平市| 资中县| 阆中市| 峨眉山市| 墨脱县| 延长县| 牟定县| 马山县| 石首市| 广昌县| 通州市| 巴林右旗| 佛学| 曲周县| 丰镇市| 本溪| 汤阴县| 应用必备| 淄博市| 江川县| 松滋市| 武功县|