锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
鍙互鐪嬪嚭錛寃indow瀵硅薄鏄暣涓狟OM鐨勬牳蹇冿紝鍥犳錛屽厛璁ㄨwindow瀵硅薄銆?br />錛?錛変嬌鐢ㄦ鏋墮泦鐨勬儏鍐典笅
浣跨敤妗嗘灦闆嗗悎鐨勬儏鍐典笅錛屾瘡涓鏋墮兘鐢變粬鑷韓鐨剋indow瀵硅薄琛ㄧず錛屽瓨鏀懼湪frames闆嗗悎涓傚彲浠ラ氳繃鏁板瓧鎴栬呭悕瀛楀妗嗘灦榪涜绱㈠紩銆傜湅渚嬪瓙錛?
<html>
<head></head>
<frameset rows="100,*">
<frame src="frame.html" name="topFrame" />
<frameset cols="50%,50%">
<frame src="anothorFrame.html" name="leftFrame"/>
<frame src="yetAnothorFrame.html" name="rightFrame"/>
</frameset>
</frameset>
</html>
<!--parent.html-->
<html>
<head></head>
<frameset rows="100,*">
<frame src="frame.html" name="topFrame" />
<frameset cols="50%,50%">
<frame src="anothorFrame.html" name="leftFrame"/>
<frame src="anotherframeset.html" name="rightFrame"/>
</frameset>
</frameset>
</html>
<!--anotherframeset.html-->
<html>
<head>
<title></title>
</head>
<body>
<frameset cols="100,*">
<frame src="red.html" name="redFrame"/>
<frame src="blue.html" name="blueFrame"/>
</frameset>
</body>
</html>
鍙傝冧功錛?br />銆奐avaScript楂樼駭緙栫▼銆婲icolas C. Zakas钁楋紝 鏇瑰姏 寮犳 絳夎瘧銆?
]]>
203.208.46.146 www.google.com
203.208.46.147 www.google.com.hk
203.208.46.132 clients1.google.com
203.208.46.149 mail.google.com
203.208.46.161 chatenabled.mail.google.com
203.208.46.161 mail-attachment.googleusercontent.com鍝堝搱錛屾壘鍒拌В鍐沖姙娉曪紝閫熷害鏄庣粏鍔犲揩
]]>
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5 <title></title>
6 <script type="text/javascript" src="jquery-1.3.1.js">
7
8 </script>
9
10 <script type="text/javascript">
11 $().ready(
12 function() {
13
14 //琛ㄥ崟瀵硅薄灞炴ц繃婊ら夋嫨鍣?/span>
15 //1鏀瑰彉琛ㄥ崟鍐呭彲鐢ㄥ厓绱犵殑鍊?/span>
16 //$('#form1 input:enabled').val("榪欓噷鍙樺寲浜?);
17
18 //2鏀瑰彉琛ㄥ崟鍐呬笉鍙敤鍏冪礌鐨勫?/span>
19 //$('#form1 input:disabled').val("榪欓噷鍙樺寲浜?);
20
21 //3閫夊彇澶氶夋涓変腑鐨勪釜鏁?/span>
22 //alert($('#form1 input:checked').length);
23
24 //4閫夊彇涓嬫媺妗嗕腑閫変腑鐨勫唴瀹?/span>
25 alert($('#form1 select :selected').length);
26 }
27 );
28 </script>
29 </head>
30 <body>
31 <form action="" id="form1">
32 鍙敤鍏冪礌錛?/span><input name="add" value="鍙敤鏂囨湰妗?/><br/>
33 涓嶅彲鐢ㄥ厓绱狅細<input name="email" disabled="disabled" value="涓嶅彲鐢ㄦ枃鏈"/><br/>
34 鍙敤鍏冪礌錛?/span><input name="che" value="鍙敤鏂囨湰妗?/><br/>
35 涓嶅彲鐢ㄥ厓绱狅細<input name="name" disabled="disabled" value="涓嶅彲鐢ㄦ枃鏈"/><br/>
36
37 <br/>
38 澶氶夋錛?/span><br/>
39 <input type="checkbox" name="newsletter" checked="checked" value="test1"/>test1
40 <input type="checkbox" name="newsletter" value="test2"/>test2
41 <input type="checkbox" name="newsletter" value="test3"/>test3
42 <input type="checkbox" name="newsletter" checked="checked" value="test4"/>test4
43 <input type="checkbox" name="newsletter" value="test5"/>test5
44
45 <div></div>
46 <br/><br/>
47 涓嬫媺鍒楄〃:<br/>
48 <select name="test" multiple="multiple" style="height:100px">
49 <option>嫻欐睙</option>
50 <option selected="selected">婀栧崡</option>
51 <option>鍖椾含</option>
52 <option selected="selected">澶╂觸</option>
53 <option>騫垮窞</option>
54 <option>婀栧寳</option>
55 </select>
56
57 <br/><br/>
58 涓嬫媺鍒楄〃2錛?/span><br/>
59 <select name="test2">
60 <option>嫻欐睙</option>
61 <option>婀栧崡</option>
62 <option selected="selected">鍖椾含</option>
63 <option>澶╂觸</option>
64 <option>騫垮窞</option>
65 <option>婀栧寳</option>
66 </select>
67
68 <div></div>
69 </form>
70 </body>
71 </html>
]]>
]]>
" -clean -nl en_US "
瀹屾垚鍚庤寰楀皢 -clean 鍘繪帀錛屼互鍏嶆瘡嬈″惎鍔?flash builder 閮芥墽琛屾竻鐞嗗姩浣滆屾氮璐規椂闂淬?/div>
]]>
鐒跺悗瑙e帇錛屽湪鐩綍涓壘
<!--Micros
<OPERATING
<VERSION VALUE="6.1
</OPERATIN
娉細濡傛灉瀹夎鐨勬槸瀹㈡埛
鑰屽悗榪樿淇敼涓涓猳r
鍏堝湪[Certifi
#You can customise error message shown for failure, provide value for CERTIFIED_
#Windows=5
娉細鍗沖湪#Windo
鍐嶆坊鍔犱笅闈唬鐮侊細
#[Windows-
#Minimum display colours for OUI to run
MIN_DISPLA
#Minimum CPU speed required for OUI
#CPU=300
#[Windows-
浠ョ鐞嗗憳韜喚榪愯se
]]>
2 public static int[] insertSort(int[] a) {
3 for(int i = 1; i < a.length; i++) {
4 int j = i-1;
5 int tmp = a[i];
6 while(j >= 0 && a[j] > tmp) {
7 a[j+1] = a[j];
8 j = j -1;
9 }
10 a[j+1] = tmp;
11
12 }
13
14 return a;
15 }
16
17 //闄嶅簭鎻掑叆鎺掑簭
18 public static int[] insertSortDesc(int[] a) {
19 for(int j=1; j < a.length; j++) {
20 int i = j - 1;
21 int key = a[j];
22 while(i >= 0 && a[i] < key) {
23 a[i+1] = a[i];
24 --i;
25 }
26 a[i+1] = key;
27 }
28 return a;
29 }
]]>
濡傛灉TextArea瑕侀殣钘忔垨鑰呮樉紺烘粴鍔ㄦ潯錛岀敤style
horizontalScrollPolicy鍜寁erticalScrollPolicy錛岃屼笉鏄?鐨刴x閲岄潰鐨勫睘鎬с?br />
鑰屽皢婊氬姩鏉$Щ鑷沖簳绔紝涓嶈兘鐩存帴璁劇疆verticalScrollPosition錛岃岀敤浠ヤ笅鏂規硶
<s:TextArea x="30" y="10" width="175" id="txt"/>
<fx:Script>
txt.text = "xxxx...";
txt.validateNow();
txt.scroller.verticalScrollBar.value = txt.scroller.verticalScrollBar.maximum;
</fx:Script>
validateNow鏂規硶楠岃瘉騫舵洿鏂版瀵硅薄鐨勫睘鎬у拰甯冨眬錛屽鏋滈渶瑕佺殑璇濋噸緇樺璞°?br />
榪欎釜鏂規硶姣旇緝閲嶈錛屽洜涓哄湪flex閲岄潰涓嶄細鍍廸lash璁劇疆浜唗ext绔嬪嵆灝變細鏄劇ず鏂囨湰鐨勯珮搴﹀拰瀹藉害銆傞潪瑕侀噸緇橈紝鎴栬咃紝鐩戝惉enterFrame鎴栬呭叾瀹冧簨浠訛紝絳夋帶浠跺瑙傛洿鏂板畬鎴愬悗錛屾墠鑳界湡姝h幏鍙栧埌瀹藉害錛岄珮搴︼紝verticalScrollBar.maximum錛岀瓑鏂囧瓧鐩稿叧灞炴с?/p>
]]>
]]>
鎯呭喌涓嬶紝鎴戜滑闇瑕佹妸鎴戜滑鐨刢lass鎵撳寘鎴恓ar鏂囦歡錛岃繘琛屼嬌鐢紝榪欐椂灝變細鍙戠幇錛屾垜浠厛鍓嶅鏋滄病鏈夎冭檻鍒拌繖浜涳紝鍙兘灝辮涓嶉氫簡錛岄偅涔堬紝璇ュ浣曡В鍐沖憿錛熸柟娉曞涓?br />
錛?br />
鏈夊涓嬭礬寰?錛?br />
Web-info--|-->classes--->conf-->config.properties
|-->lib
姝ゆ椂鍔犲叆鎴戜滑闇瑕佽鍙朿onfig.properties錛屽湪涓嶄嬌鐢╦ar鍖呮椂錛屼嬌鐢ㄥ涓嬫柟寮忚鍙栵紝涓嶅け涓轟竴縐嶆柟娉曪細
File f = new File(this.getClass().getResource("/").getPath());
f = new File(f.getPath() + "/conf/config.properties");
娉細f.getPath()鍗充負褰揷lass鎵鍦ㄧ殑緇濆璺緞銆傚錛歝:\javasrc\web-inf\classes
鐒跺悗,瀵規枃浠跺璞¤繘琛屽鐞嗭紝灝辮兘鎶婇厤緗俊鎭鍙栧嚭鏉ヤ簡錛屼絾鏄姞鍏ュ涓奵lass琚墦鍖呮垚jar鏂囦歡錛岄偅涔堬紝鍦ㄧ▼搴忔墽琛屽埌榪欓噷鏃訛紝灝變細鏃犳硶鎵懼埌閰嶇疆鏂囦歡錛岄偅涔堣濡備綍澶勭悊鍛紵
澶勭悊鏂規硶濡備笅錛?br />
String s_config="conf/config.properties";
InputStream in = ClassLoader.getSystemResourceAsStream(s_config);
if( in == null ){
System.out.println( " 鎵撳紑 " + s_config + "澶辮觸錛? );
}else
{
Properties properties = new Properties();
properties.load(in);
//
//鎺ヤ笅鏉ュ氨鍙互閫氳繃properties.getProperty(String obj)鏂規硶瀵硅繘琛岄厤緗俊鎭鍙栦簡
}
鏈枃鏉ヨ嚜CSDN鍗氬錛?a >杞嚜錛?/font>http://blog.csdn.net/wjmmml/archive/2004/09/27/118404.aspx