锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩亚洲翔田千里在线,亚洲人成色77777,亚洲国产另类久久久精品小说 http://www.tkk7.com/bobojava/鎶鏈湰鏉ュ緢騫匡紝浣嗘垜浠彲浠ユ妸瀹冨彉钖勶紒zh-cnSat, 10 May 2025 00:01:14 GMTSat, 10 May 2025 00:01:14 GMT60銆愯漿銆慓oogle 閫夋嫨 Jetty, 鏀懼純 Tomcathttp://www.tkk7.com/bobojava/articles/292234.htmlRiqueRiqueSat, 22 Aug 2009 15:53:00 GMThttp://www.tkk7.com/bobojava/articles/292234.htmlhttp://www.tkk7.com/bobojava/comments/292234.htmlhttp://www.tkk7.com/bobojava/articles/292234.html#Feedback0http://www.tkk7.com/bobojava/comments/commentRss/292234.htmlhttp://www.tkk7.com/bobojava/services/trackbacks/292234.html

Google 搴旂敤緋葷粺寮曟搸鏈鍒濇槸浠?Apache Tomcat 浣滀負鍏?webserver/servlet 瀹瑰櫒鐨勶紝浣嗘渶緇堝皢鍒囨崲鍒?Jetty 涓娿?榪欎釜鍐沖畾璁╄澶氬紑鍙戜漢鍛橀兘璇у紓鐨勬兂闂細涓轟粈涔堣鍋氳繖鏍風殑鏀瑰彉錛烼omcat 鏈変粈涔堥棶棰樺悧錛?鎴戜滑鑾峰緱鐨勪竴嬈¤闂?Webtide 鈥斺擩etty 鑳屽悗鐨勫叕鍙糕斺旈噷鐨勮繖涓洟闃熺殑鏈轟細錛屽緱鍒頒簡鍏充簬榪欎釜鍐沖畾鑳屽悗鏇磋緇嗙殑淇℃伅銆?/p>

璁拌咃細 涓轟粈涔圙oogle閫夋嫨Jetty浣滀負鍏跺簲鐢ㄧ郴緇熺殑寮曟搸錛岃屼笉鏄?Tomcat 鎴栧叾浠栫殑錛?/p>

Google閫夋嫨Jetty鐨勫叧閿師鍥犳槸瀹冪殑浣撶Н鍜岀伒媧繪с?鍦ㄤ簯璁$畻閲岋紝浣撶Н鐨勫洜绱犳槸寰堥噸瑕侊紝濡傛灉浣犺繍琛屽嚑涓囦釜Jetty鐨勫疄渚嬶紙Google灝辨槸榪欐牱騫茬殑錛夛紝姣忎釜server鐪?鍏嗭紝閭e氨浼氱渷10鍑犱釜G鐨勫唴瀛橈紙鎴栬兘澶熺粰鍏朵粬搴旂敤鎻愪緵鏇村鐨勫唴瀛橈級銆?
Jetty 琚璁℃垚浜嗗彲鎻掓嫈鍜屽彲鎵╁睍鐨勭壒鎬э紝榪欐牱Google灝卞彲浠ラ珮搴︾殑鑷畾涔夊畠銆?浠栦滑鍦ㄥ叾涓浛鎹簡浠栦滑鑷繁鐨凥TTP connector錛孏oogle璁よ瘉錛屼互鍙婁粬浠嚜宸辯殑session闆嗙兢銆備篃鐪熸槸濂囨紝榪欎釜鐗規(guī)у浜庝簯璁$畻鏉ヨ鏄潪甯稿嚭鑹茬殑錛屼絾鍚屾椂涔熻Jetty闈炲父閫傚悎宓屽叆灝忕殑璁懼涓紝渚嬪鎵嬫満鍜屾満欏剁洅銆?/blockquote>

璁拌咃細 鏄粈涔堜績浣縅etty鎴愪負Java閲屽嚭鑹茬殑servlet瀹瑰櫒錛?/p>

鎴戜滑鍦ㄥ紑鍙慗etty鏃訛紝騫舵病鏈夋兂鐫瑕佹妸瀹冨紑鍙戞垚涓涓叏鍔熻兘鐨勫簲鐢╯erver錛堝敖綆″畠鏄殑錛夈傛瘡涓欏瑰姛鑳介兘鑰冭檻浜嗗彲鎻掓嫈鎬э紝鎵浠ワ紝濡傛灉浣犱笉闇瑕佷粬錛屼綘灝卞彲浠ヤ笉鎶婂畠鍔犺澆鍒板唴瀛橀噷錛屾妸瀹冧粠request 澶勭悊璋冪敤閾句腑鍘繪帀銆傚鏋滀綘涓嶉渶瑕乻essons錛屼綘鍙互鎶妔ession澶勭悊鍣ㄦ嬁鎺夛紝榪欐牱浣犲氨涓嶈嫻垂璧勬簮鍘繪潵鍥炲鎵緎ession cookie浜嗐傚綋浣犳瘡縐掗挓閮芥湁鍑烘潵涓婂崈涓姹傛椂錛岃繖浜涘井灝忕殑鏌ユ壘鍔ㄤ綔鐨勫紑閿鏄潪甯哥殑澶х殑銆?/span>
鎴戜滑涔熷茍娌℃湁鎯沖綋鐒剁殑浼佸浘閫氳繃璁捐灝卞彲浠ュ緱鍒版渶浼樺寲鐨勪唬鐮侊紝鎴戜滑鏄鍚屾敹闆嗘矙綺掕埇錛屾瘡嬈″緱鍒頒竴浜涗漢鍛婅瘔鎴戜滑濡備綍鎵嶈兘鏈夊ソ鐨凧VMs浼樺寲鍜屽瀮鍦懼洖鏀跺姙娉曘傝繖鏄湡鐨勶紝宸茬粡寰堝皬蹇冪殑浠g爜浠嶇劧鑳借浼樺寲錛屾渶鍚庣殑鏁堟灉灝辨槸閬垮厤鍒涘緩鏂扮殑瀵硅薄銆備緥濡傦紝鎴戜滑鍦↗etty閲屼嬌鐢ㄥ茍琛屽鐞嗘妧鏈紝浣嗘垜浠茍娌℃湁浣跨敤寰堝鏍囧噯鐨勫茍琛屽鐞嗘暟鎹粨鏋勶紝鍥犱負榪欓渶瑕佸垱寤哄お澶氱殑瀵硅薄銆傛墍浠ワ紝鍙槸浣滀負涓緥瀛愶紝鎴戜滑浣跨敤浜嗗弻騫惰閿佸驚鐜?arrays錛岃屼笉鏄噰鐢ㄥ茍琛岄摼寮?lists錛岃繖鏍鋒垜浠氨鑳藉鍦ㄤ笉鍒涘緩瀵硅薄鐨勬儏鍐典笅錛岃幏寰椾簡闈為樆濉炲茍琛屾晥鏋溿?/blockquote>

璁拌咃細 鏄粈涔堜嬌Jetty鎴愪負寮鍙戜漢鍛樼殑涓涓湁鐢ㄧ殑server騫沖彴鐨勶紙渚嬪錛歵esting錛夛紵

Jetty 宸茬粡鍦ㄤ竴浜涙祦琛屾鏋朵腑鍐呯疆浜嗭紝渚嬪GWT錛宻cala/lift錛実rails錛孞ruby絳夌瓑錛岃繕鏈夊緢澶氥傚鏋滀綘浣跨敤浜嗚繖浜涙妧鏈紝浣犲氨鐩存帴鍙互鐢↗etty浜嗐?Jetty-maven 鎻掍歡鏄彟澶栦竴涓潪甯鎬紭縐鐨勫紑鍙戝伐鍏鳳紝瀹冭兘璁﹚eb搴旂敤鍦ㄤ笉鎵撳寘鎴恮ar鏂囦歡鐨勬儏鍐典笅榪愯銆傛簮鏂囦歡鍙互鐩存帴緙栬緫錛屽湪涓嶉渶瑕佹妸瀹冮噸鏂版斁榪泈ar鏂囦歡鐨勬儏鍐典笅鑾峰緱嫻嬭瘯緇撴灉銆?Jetty宓屽叆寮忕殑鐗瑰緛璁╂垜浠笉鍐嶉渶瑕佸啓閫氳繃鍐欓偅浜沵ain鏂規(guī)硶銆侀氳繃浣犵殑IDE錛岃皟璇曞櫒鎴?profiler 鏉ヨ繍琛屼箣綾葷殑鏃犺亰鐨勪簨鎯呫?/blockquote>

璁拌咃細 Jetty鍦ㄥ鐞?client-server 璇鋒眰鏃舵湁浠涔堢嫭鐗圭殑鍦版柟鍚楋紵

Jetty 鐜板湪鏄竴涓浜屼唬鐨勫紓姝ュ鐞唖erver銆?榪囧幓鐨勪袱騫撮噷錛屾垜浠Jetty瀹炵幇浜嗗鐞嗗紓姝ヨ姹傜殑鍔熻兘錛岃繖鎴愪簡瀹冩牳蹇冩灦鏋勭殑涓閮ㄥ垎銆傚氨鍍忓叾浠栫殑鏀寔寮傛serlets瀹瑰櫒涓鏍鳳紝鎴戞兂錛屼粬浠細鍙戠幇榪欎釜涓滆タ騫朵笉鏄湅璧鋒潵鐨勯偅涔堢畝鍗曞拰瀹規(guī)槗銆?鎴戜滑鐨勫紓姝TTP寮曟搸琚垜浠鐢ㄥ湪浜咹TTP client 涓婏紝鎵浠ユ垜浠彲浠ュぇ閲忕殑闄嶄綆request 鍜?responses 娑堣椼?/span>
鍚屾椂錛屽氨鍍忔垜涔嬪墠鎻愬埌榪囩殑錛屾垜浠殑璇鋒眰澶勭悊鍣ㄦ槸鍙墿灞曞拰鍙彃鎷旂殑錛岃繖璁﹚eb application鍙互琚崟鐙渷鐣ユ帀錛屾垨鑰呮槸鍗曠嫭浣跨敤錛屾垨鑰呮槸榪涗竴姝ユ墿灞曠殑application銆?/span>

璁拌咃細 鏈夋病鏈夊叾浠朖etty浣跨敤鐨勬渚嬶紝澶х殑鎴栧皬鐨勶紵

浣跨敤Jetty鐨勫叕鍙告湁鍍廧imbra/Yahoo錛岃繖鎰忓懗鐫Jetty姝d綔涓簑eb mail 鏈嶅姟鍣紝涓虹櫨涓囩駭鐨勭敤鎴鋒彁渚涙湇鍔°?Eclipse IDE鎶婂畠鍐呯疆浜嗚繘鍘伙紝榪欐剰鍛崇潃鏈夋垚鐧句竾鐨勫紑鍙戣呭湪妗岄潰榪愯Jetty銆?Jetty琚?hadoop map/reduce cluster浣跨敤錛屽湪鍏朵笂鏈夊嚑鍗冧釜鐐圭殑闆嗙兢錛屽鐞嗙潃涓栫晫鏈澶х殑TB綰у埆鐨勬暟鎹垎綾繪帓搴忓伐浣溿?鎴戜滑涔熸湁 J2ME 鐨勬帴鍙o紝鏈夋湰鍦扮紪璇戝櫒錛屾墍浠ユ垜浠彲浠ュ湪鎵嬫満涓婏紝瀹剁敤璺敱鍣ㄥ拰 Java cards 涓婅繍琛屻?鏇村鐨凧etty浣跨敤鐨勪緥瀛愬彲浠ュ弬鑰?http://docs.codehaus.org/display/JETTY/Jetty+Powered

璁拌咃細 Jetty鐨勫皢鏉ユ垨钃濆浘鏄庢牱鐨勶紵

Jetty 鏈榪戠殑璁″垝鏄彂甯?7.0.0 鐗堟湰錛岃繖灝嗕細瀹屽叏鐨勮縼縐誨埌eclipse foundation 涓嬨?Jetty 7 灝嗕細鏀寔寰堝 servlet 3.0 鐨勭壒寰侊紝浣嗘槸騫朵笉浼氫嬌鐢ㄦ柊鐨凙PI 鍜?涓嶄細渚濊禆Java 1.6 銆?Jetty 7鍚庯紝寰堝揩鎴戜滑浼氬彂甯僇etty 8錛岃繖灝嗕細瀹屽叏鏀寔 servlet 3.0 鍜?Java 1.6錛孞etty 浼氱戶緇殑鍒涙柊 鍜岃窡韙悇縐峸eb 2.0 閲岀殑鍏朵粬鐨勬柊鎴愭灉銆?鎴戜滑鐜板湪宸茬粡鑳芥敮鎸?Firefox 3.5 閲岀殑璺ㄥ煙Ajax鍔熻兘錛屾垜浠彲浠ュ湪cometd鐗堟湰閲屼嬌鐢ㄨ繖涓?鎴戜滑寰堝揩灝變細澧炲姞瀵?WebSocket 鍜?BWTP 鐨勬敮鎸併?瀵?Google wave 浠ュ強鐩稿叧鍗忚鐨勬敮鎸佺殑闂宸茬粡浼樺厛鎺掑埌浜嗘垜浠殑璁簨鏃ョ▼涓婁簡銆?/blockquote>

璁拌咃細 Google/Jetty 榪樻湁鍏朵粬鐨勮鍒掑悧錛?/p>

Google鏈変粬浠嚜宸變笅媯嬬殑媯嬪眬錛屾垜浠茍涓嶆竻妤氥?鎴戜滑鍦↗avaOne澶т細涓婃浘緇忓拰App Engine寮鍙戣呬滑鏈変釜綆鍗曠殑瀵硅瘽錛屾垜浠効鎰忓惉浠栦滑浠諱綍鐨勫弽棣堝拰鎰忚錛岀敤鏉ユ敼榪汮etty鐨勫彲宓屽叆鎬у拰鍙墿灞曟с?/span>

涓嬮潰鐨勮窡Webtide鍥㈤槦鐨勮璁轟腑錛屾垜浠闂簡SpringSource 浠嶫etty杞崲鍒癟omcat鐨勪簨鎯呫?

璁拌咃細 浣犱滑濡備綍鐪嬪緟 SpringSource 鎶?Grails 浠庢湰鏉ヤ綔涓虹己鐪佸鍣ㄧ殑Jetty鎹㈡垚浜員omcat鐨勪簨鎯咃紵

鍘熷洜鏄痝rails寮鍙戠殑棰嗗鎰熻浣跨敤Tomcat鑳戒粠鍐呴儴鐨凾omcat寮鍙戜漢鍛樺摢閲岃幏寰楁洿濂界殑”鏈嶅姟“銆傛垜鐚滄祴錛屼粬浠妸Grails鐨勭敤鎴烽┍璧跺埌鏌愪竴涓鉤鍙幫紝浠ヨSpringSource鑳芥洿濂界殑閿鍞粬浠殑鎶鏈敮鎸佹湇鍔°傚嚑騫村墠鎴戜滑鐪嬪埌浜嗙浉鍚岀殑浜嬫儏錛孞Boss 闆囦劍浜嗕竴涓媡omcat寮鍙戜漢鍛樺悗鎶奐etty鎻愬嚭鎴愪簡Tomcat錛屽茍鏈緇堝拰Mort Bay杈炬垚浜嗗晢涓氬悎鍚屻?寰堥仐鎲撅紝榪欎簺鍟嗕笟鍗忚瀵規(guī)妧鏈夋嫨鏈夊姝ゅぇ鐨勫獎鍝嶏紝褰撶浉鍚岀殑鏄紝涓浜涘熀紜緇撴瀯鐨勫伐紼嬩篃姝h仛闆嗗埌涔焌pplication server 涓轟腑蹇冪殑闃熶紞閲屾潵銆?
Grails灝嗕細緇х畫鍚屾椂鏀寔瀵笿etty鍜孴omcat鐨勯泦鎴愶紝浣嗕細鏀規(guī)垚Tomcat涓虹己鐪佹湇鍔°?/span>

榪欑湅璧鋒潵鏄?SpringSource浣跨敤/鏀闄?Tomcat 鐨勪竴涓壒鍒悎閫傜殑璁烘柇銆?/p>
鏈瘒鏂囩珷鍘熷湴鍧錛?a >http://lifeside.javaeye.com/blog/452361


Rique 2009-08-22 23:53 鍙戣〃璇勮
]]>銆愯漿銆慗S浠g爜鍦↖E鍜孎ireFox闂寸殑鍖哄埆http://www.tkk7.com/bobojava/articles/291851.htmlRiqueRiqueWed, 19 Aug 2009 11:08:00 GMThttp://www.tkk7.com/bobojava/articles/291851.htmlhttp://www.tkk7.com/bobojava/comments/291851.htmlhttp://www.tkk7.com/bobojava/articles/291851.html#Feedback0http://www.tkk7.com/bobojava/comments/commentRss/291851.htmlhttp://www.tkk7.com/bobojava/services/trackbacks/291851.html1.    HTML 瀵硅薄鐨?id 浣滀負瀵硅薄鍚嶇殑闂
IE錛欻TML 瀵硅薄鐨?ID 鍙互浣滀負 document 鐨勪笅灞炲璞″彉閲忓悕鐩存帴浣跨敤
FF錛氫笉鏀寔
瑙e喅鏂規(guī)硶錛氫嬌鐢╠ocument.getElementById鏇夸唬document.all

2.       濡傛灉鎺т歡鍙湁name,娌℃湁id, 鐢╣etElementById鏃?
IE錛氬彲浠ユ壘鍒板璞?br /> FF錛氳繑鍥濶ULL
瑙e喅鏂規(guī)硶錛氭墍鏈夋帶浠跺繀欏昏緗甀D灞炴?/p>

3.       Evel:
IE錛氭敮鎸侊紝鍒╃敤 eval(idName) 鍙互鍙栧緱 id 涓?idName 鐨?HTML 瀵硅薄
FF錛氫笉鏀寔銆?br /> 瑙e喅鏂規(guī)硶錛氱粺涓浣跨敤getElementById(idName) 浠f浛 eval(idName)銆?/p>

4.       Event錛?br /> IE錛氱敤鍏ㄥ眬瀵硅薄window.event
FF錛歟vent鍙兘鍦ㄤ簨浠跺彂鐢熺殑鐜板満浣跨敤錛屽湪璋冪敤鍑芥暟鏃朵紶鍏vent瀵硅薄
瑙e喅鏂規(guī)硶錛氫嬌鐢ㄤ箣鍓嶅仛涓涓嬫祻瑙堝櫒綾誨瀷鍒ゆ柇錛屽悇鐢ㄥ悇鐨勩?/p>

5.       瀵硅薄鍚嶇О涓編鍏冪鍙?#8216;$’鏀逛負浣跨敤涓嬪垝綰?#8216;_’

6.       闆嗗悎綾誨璞¢棶棰?br /> IE錛氬彲浠ヤ嬌鐢?)鎴朳]鑾峰彇闆嗗悎綾誨璞?br /> FF錛氬彧鑳戒嬌鐢╗]鑾峰彇闆嗗悎綾誨璞?br /> 鐜版湁浠g爜涓瓨鍦ㄨ澶氾紝涓嶈兘鍦?FF 涓嬭繍琛?br /> 瑙e喅鏂規(guī)硶:緇熶竴浣跨敤[]鑾峰彇闆嗗悎綾誨璞°俤ocument.form.item("itemName") 榪欐牱鐨勮鍙ユ敼涓篸ocument.form.elements["elementName"]

7.       鍙橀噺鍚嶄笌鏌?HTML 瀵硅薄 id 鐩稿悓鐨勯棶棰?br /> IE錛氫笉鑳戒嬌鐢ㄤ笌 HTML 瀵硅薄 id 鐩稿悓鐨勫彉閲忓悕
FF錛氬彲浠ヤ嬌鐢?br /> 瑙e喅鏂規(guī)硶錛氬湪澹版槑鍙橀噺鏃訛紝涓寰嬪姞涓?var 錛屼互閬垮厤姝т箟錛岃繖鏍峰湪 IE 涓害鍙甯歌繍琛屻?br /> 姝ゅ錛屾渶濂戒笉瑕佸彇涓?HTML 瀵硅薄 id 鐩稿悓鐨勫彉閲忓悕錛屼互鍑忓皯閿欒銆?/p>

8.       Event瀹氫綅闂
IE錛氭敮鎸乪vent.x 鍜宔vent.y
FF錛氭敮鎸乪vent.pageX鍜宔vent.pageY
瑙e喅鏂規(guī)硶錛岀粺涓浣跨敤event.clientX鍜宔vent.clientY錛屼絾鏄湪FF涓璭vent.clientX 涓?event.pageX 鏈夊井濡欑殑宸埆錛堝綋鏁翠釜欏甸潰鏈夋粴鍔ㄦ潯鐨勬椂鍊欙級錛屼笉榪囧ぇ澶氭暟鏃跺欐槸絳夋晥鐨勩傚鏋滆瀹屽叏涓鏍鳳紝鍙互鍒ゆ柇嫻忚鍣ㄧ被鍨嬪悗瀵瑰簲浣跨敤銆?/p>

9.       鐖剁粨鐐圭殑闂
IE錛歱arentElement parentElement.children
FF錛歱arentNode parentNode.childNodes
childNodes鐨勪笅鏍囩殑鍚箟鍦↖E鍜孎F涓笉鍚岋紝FF浣跨敤DOM瑙勮寖錛宑hildNodes涓細鎻掑叆絀虹櫧鏂囨湰鑺傜偣銆備竴鑸彲浠ラ氳繃node.getElementsByTagName()鏉ュ洖閬胯繖涓棶棰樸?/p>


褰揾tml涓妭鐐圭己澶辨椂錛孖E鍜孎F瀵筽arentNode鐨勮В閲婁笉鍚岋紝渚嬪
<form>
<table>
  <input/>
</table>
</form>
IE錛歩nput.parentNode鐨勫間負絀鴻妭鐐?br /> FF錛歩nput.parentNode鐨勫間負form
FF涓妭鐐規(guī)病鏈塺emoveNode鏂規(guī)硶錛屽繀欏諱嬌鐢ㄥ涓嬫柟娉?node.parentNode.removeChild(node)

10.   const 闂
鐜版湁闂錛?br /> IE錛氫笉鏀寔 const 鍏抽敭瀛椼傚 const constVar = 32; 鍦↖E涓繖鏄娉曢敊璇?br /> FF錛氭敮鎸?br /> 瑙e喅鏂規(guī)硶錛氫笉浣跨敤 const 錛屼互 var 浠f浛銆?/p>

11.   body 瀵硅薄
IE錛氬湪body鏍囩瀹屽叏琚鍏ヤ箣鍚庢墠瀛樺湪
FF錛氬湪body鏍囩娌℃湁琚祻瑙堝櫒瀹屽叏璇誨叆涔嬪墠灝卞瓨鍦?/p>

12.   鑷畾涔夊睘鎬ч棶棰?br /> IE錛氬彲浠ヤ嬌鐢ㄨ幏鍙栧父瑙勫睘鎬х殑鏂規(guī)硶鏉ヨ幏鍙栬嚜瀹氫箟灞炴?涔熷彲浠ヤ嬌鐢╣etAttribute()鑾峰彇鑷畾涔夊睘鎬?br /> FF錛氬彧鑳戒嬌鐢╣etAttribute()鑾峰彇鑷畾涔夊睘鎬?
瑙e喅鏂規(guī)硶錛氱粺涓閫氳繃getAttribute()鑾峰彇鑷畾涔夊睘鎬?/p>

13.   event.srcElement闂
IE錛歟ven.srcElement
FF錛歟ven.target
瑙e喅鏂規(guī)硶:浣跨敤鏃跺垽鏂祻瑙堝櫒綾誨瀷錛屽悇鐢ㄥ悇鐨勩?/p>

14.   妯℃佸拰闈炴ā鎬佺獥鍙?br /> IE錛氭敮鎸佹ā鎬佸拰闈炴ā鎬佺獥鍙?br /> FF錛氫笉鏀寔
瑙e喅鏂規(guī)硶錛氱洿鎺ヤ嬌鐢╳indow.open(pageURL,name,parameters)鏂瑰紡鎵撳紑鏂扮獥鍙c傚鏋滈渶瑕佸皢瀛愮獥鍙d腑鐨勫弬鏁頒紶閫掑洖鐖剁獥鍙?鍙互鍦ㄥ瓙紿楀彛涓嬌鐢╳indow.opener鏉ヨ闂埗紿楀彛銆?/p>

15.   innerText
IE錛歩nnerText
FF錛歵extContent

16.   綾諱技 obj.style.height = imgObj.height 鐨勮鍙?br /> IE錛氭湁鏁?br /> FF錛氭棤鏁?br /> 瑙e喅鏂規(guī)硶錛氱粺涓浣跨敤obj.style.height = imgObj.height + 'px';

 

鏈枃鏉ヨ嚜CSDN鍗氬:http://blog.csdn.net/nileel/archive/2009/08/19/4461687.aspx



Rique 2009-08-19 19:08 鍙戣〃璇勮
]]>
Struts2鏁村悎EJB3.0綆鍗曞疄渚?/title><link>http://www.tkk7.com/bobojava/articles/289702.html</link><dc:creator>Rique</dc:creator><author>Rique</author><pubDate>Tue, 04 Aug 2009 00:50:00 GMT</pubDate><guid>http://www.tkk7.com/bobojava/articles/289702.html</guid><wfw:comment>http://www.tkk7.com/bobojava/comments/289702.html</wfw:comment><comments>http://www.tkk7.com/bobojava/articles/289702.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/bobojava/comments/commentRss/289702.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bobojava/services/trackbacks/289702.html</trackback:ping><description><![CDATA[     鎽樿: 渚嬪瓙浣跨敤鐨勫伐鍏鳳細MyEclipse6.6錛孞boss5.1, Tomcat6.18.  瀹炵幇鍔熻兘鎻忚堪錛氶氳繃Struts2璋冪敤EJB3.0鐨勮繙紼嬫柟娉曪紝瀹屾垚綆鍗曠殑鐧婚檰鍔熻兘錛屽彧鏄畝鍗曠殑瀛楃涓叉瘮瀵癸紝鏈嬌鐢ㄦ寔涔呭眰銆? 棣栧厛鍒涢敭EJB project錛屾垜鐨勯」鐩悕縐頒負錛歋2Login銆傜劧鍚庡畾涔塖ession Bean   LoginServiceBean瀹炵幇榪滅▼鎺ュ彛Login...  <a href='http://www.tkk7.com/bobojava/articles/289702.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/bobojava/aggbug/289702.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bobojava/" target="_blank">Rique</a> 2009-08-04 08:50 <a href="http://www.tkk7.com/bobojava/articles/289702.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Grails鍏ラ棬涔嬩簩錛?涓鍒囦粠Hello World寮濮?/title><link>http://www.tkk7.com/bobojava/articles/259394.html</link><dc:creator>Rique</dc:creator><author>Rique</author><pubDate>Thu, 12 Mar 2009 10:12:00 GMT</pubDate><guid>http://www.tkk7.com/bobojava/articles/259394.html</guid><wfw:comment>http://www.tkk7.com/bobojava/comments/259394.html</wfw:comment><comments>http://www.tkk7.com/bobojava/articles/259394.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bobojava/comments/commentRss/259394.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bobojava/services/trackbacks/259394.html</trackback:ping><description><![CDATA[Grails鏄釜鍏稿瀷鐨勯伒鐓VC妯″紡寮鍙戠殑妗嗘灦錛岃嚦灝戝寘鍚簡浠ヤ笅3涓儴鍒嗭細鎺у埗鍣?Controllers)銆侀鍩?Domain)瀵硅薄(妯″瀷)銆佽鍥?Views)銆傛棦鐒剁幆澧冮厤緗ソ浜嗭紝Hello欏圭洰鐨勫熀鏈瀯鏋朵篃閫氳繃grails create-app hello鍒涘緩濂戒簡錛屼笅闈㈣繘鍏ョ涓涓猤rails渚嬪瓙銆?br />  <br /> 榪涘叆hello欏圭洰鏂囦歡澶?>cd hello)錛岃緭鍏?grails create-controller hello<br /> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><span style="color: #008080"> 1</span><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><span style="color: #000000">E:\Groovy\projects\hello>grails create-controller hello<br /> </span><span style="color: #008080"> 2</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><br /> </span><span style="color: #008080"> 3</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Welcome to Grails </span><span style="color: #000000">1.0.4</span><span style="color: #000000"> - http://grails.org/<br /> </span><span style="color: #008080"> 4</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Licensed under Apache Standard License </span><span style="color: #000000">2.0</span><span style="color: #000000"><br /> </span><span style="color: #008080"> 5</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Grails home is set to: E:\Groovy\grails-</span><span style="color: #000000">1.0.4</span><span style="color: #000000">        <br /> </span><span style="color: #008080"> 6</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        <br /> </span><span style="color: #008080"> 7</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Base Directory: E:\Groovy\projects\hello<br /> </span><span style="color: #008080"> 8</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Note: No plugin scripts found<br /> </span><span style="color: #008080"> 9</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Running script E:\Groovy\grails-</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\scripts\CreateController.groovy<br /> </span><span style="color: #008080">10</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Environment set to development<br /> </span><span style="color: #008080">11</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to E:\Groovy\projects\hello\grails-app\controllers<br /> </span><span style="color: #008080">12</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Created Controller for Hello<br /> </span><span style="color: #008080">13</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\views\hello<br /> </span><span style="color: #008080">14</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to E:\Groovy\projects\hello\test\integration<br /> </span><span style="color: #008080">15</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Created ControllerTests for Hello</span></div> 榪欐牱錛屽湪grails-app/controller鐩綍涓嬭嚜鍔ㄧ敓鎴怘elloController.groovy鏂囦歡錛屽悓鏃秅rails-test涓嬬敓鎴怘elloControllerTest.groovy嫻嬭瘯鏂囦歡銆?br /> 鎴戜滑緙栬緫HelloController鎺у埗鍣紝鍦╥ndex{}涓緭鍑篐ello World.鍏朵腑錛宨ndex鏄郴緇熼粯璁ょ殑鎿嶄綔錛岀浉褰撲簬JSP涓殑index.jsp銆?br /> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><span style="color: #008080">1</span> <span style="color: #0000ff">class</span><span style="color: #000000"> HelloController {<br /> </span><span style="color: #008080">2</span> <span style="color: #000000">    def index </span><span style="color: #000000">=</span><span style="color: #000000"> {render </span><span style="color: #000000">'</span><span style="color: #000000">Hello world!</span><span style="color: #000000">'</span><span style="color: #000000"> }<br /> </span><span style="color: #008080">3</span> <span style="color: #000000">}</span></div> 榪愯欏圭洰 grails run-app<br /> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><span style="color: #008080"> 1</span><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><span style="color: #000000">E:\Groovy\projects\hello>grails run-app<br /> </span><span style="color: #008080"> 2</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><br /> </span><span style="color: #008080"> 3</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Welcome to Grails </span><span style="color: #000000">1.0.4</span><span style="color: #000000"> - http://grails.org/<br /> </span><span style="color: #008080"> 4</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Licensed under Apache Standard License </span><span style="color: #000000">2.0</span><span style="color: #000000"><br /> </span><span style="color: #008080"> 5</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Grails home is set to: E:\Groovy\grails-</span><span style="color: #000000">1.0.4</span><span style="color: #000000">        <br /> </span><span style="color: #008080"> 6</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        <br /> </span><span style="color: #008080"> 7</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Base Directory: E:\Groovy\projects\hello<br /> </span><span style="color: #008080"> 8</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Note: No plugin scripts found<br /> </span><span style="color: #008080"> 9</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Running script E:\Groovy\grails-</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\scripts\RunApp.groovy<br /> </span><span style="color: #008080">10</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Environment set to development<br /> </span><span style="color: #008080">11</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">groovyc</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Compiling </span><span style="color: #000000">7</span><span style="color: #000000"> source files to C:\Documents and Settings\Administrator\.grails\</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\projects\hello\classes<br /> </span><span style="color: #008080">12</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">native2ascii</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Converting </span><span style="color: #000000">11</span><span style="color: #000000"> files from E:\Groovy\projects\hello\grails-app\i18n to C:\Documents and Settings\Administrator\.grails\</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\projects\hello\resources\grails-app\i18n<br /> </span><span style="color: #008080">13</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to C:\Documents and Settings\Administrator\.grails\</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\projects\hello\classes<br /> </span><span style="color: #008080">14</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to C:\Documents and Settings\Administrator\.grails\</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\projects\hello\resources<br /> </span><span style="color: #008080">15</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to C:\Documents and Settings\Administrator\.grails\</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\projects\hello<br /> </span><span style="color: #008080">16</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Running Grails application..<br /> </span><span style="color: #008080">17</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">2009</span><span style="color: #000000">-</span><span style="color: #000000">03</span><span style="color: #000000">-</span><span style="color: #000000">12</span><span style="color: #000000"> </span><span style="color: #000000">20</span><span style="color: #000000">:</span><span style="color: #000000">00</span><span style="color: #000000">:</span><span style="color: #000000">01.183</span><span style="color: #000000">::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog<br /> </span><span style="color: #008080">18</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">2009</span><span style="color: #000000">-</span><span style="color: #000000">03</span><span style="color: #000000">-</span><span style="color: #000000">12</span><span style="color: #000000"> </span><span style="color: #000000">20</span><span style="color: #000000">:</span><span style="color: #000000">00</span><span style="color: #000000">:</span><span style="color: #000000">01.402</span><span style="color: #000000">::INFO:  jetty-</span><span style="color: #000000">6.1.12</span><span style="color: #000000"><br /> </span><span style="color: #008080">19</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">2009</span><span style="color: #000000">-</span><span style="color: #000000">03</span><span style="color: #000000">-</span><span style="color: #000000">12</span><span style="color: #000000"> </span><span style="color: #000000">20</span><span style="color: #000000">:</span><span style="color: #000000">00</span><span style="color: #000000">:</span><span style="color: #000000">02.652</span><span style="color: #000000">::INFO:  No Transaction manager found - if your webapp requires one</span><span style="color: #000000">,</span><span style="color: #000000"> please configure one.<br /> </span><span style="color: #008080">20</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">2009</span><span style="color: #000000">-</span><span style="color: #000000">03</span><span style="color: #000000">-</span><span style="color: #000000">12</span><span style="color: #000000"> </span><span style="color: #000000">20</span><span style="color: #000000">:</span><span style="color: #000000">00</span><span style="color: #000000">:</span><span style="color: #000000">02.308</span><span style="color: #000000">:/hello:INFO:  Set web app root system property: 'hello-development-</span><span style="color: #000000">0.1</span><span style="color: #000000">' </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">E:\Groovy\projects\hello\web-app</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"><br /> </span><span style="color: #008080">21</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">2009</span><span style="color: #000000">-</span><span style="color: #000000">03</span><span style="color: #000000">-</span><span style="color: #000000">12</span><span style="color: #000000"> </span><span style="color: #000000">20</span><span style="color: #000000">:</span><span style="color: #000000">00</span><span style="color: #000000">:</span><span style="color: #000000">02.308</span><span style="color: #000000">:/hello:INFO:  Initializing log4j from </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">file:C:\Documents and Settings\Administrator/.grails/1.0.4/projects/hello/resources/log4j.properties</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"><br /> </span><span style="color: #008080">22</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">2009</span><span style="color: #000000">-</span><span style="color: #000000">03</span><span style="color: #000000">-</span><span style="color: #000000">12</span><span style="color: #000000"> </span><span style="color: #000000">20</span><span style="color: #000000">:</span><span style="color: #000000">00</span><span style="color: #000000">:</span><span style="color: #000000">02.340</span><span style="color: #000000">:/hello:INFO:  Initializing Spring root WebApplicationContext<br /> </span><span style="color: #008080">23</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">0</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> spring.GrailsWebApplicationContext Refreshing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@396c7: display name </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@396c7</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #008000">;</span><span style="color: #008000"> startup date [Thu Mar 12 20:00:05 CST 2009]; parent: org.springframework.web.context.support.XmlWebApplicationContext@1e7c609</span><span style="color: #008000"><br /> </span><span style="color: #008080">24</span><span style="color: #008000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">0</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> spring.GrailsWebApplicationContext Bean factory for application context </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@396c7</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000">: org.springframework.beans.factory.support.DefaultListableBeanFactory@c4c05<br /> </span><span style="color: #008080">25</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">2009</span><span style="color: #000000">-</span><span style="color: #000000">03</span><span style="color: #000000">-</span><span style="color: #000000">12</span><span style="color: #000000"> </span><span style="color: #000000">20</span><span style="color: #000000">:</span><span style="color: #000000">00</span><span style="color: #000000">:</span><span style="color: #000000">08.179</span><span style="color: #000000">:/hello:INFO:  Initializing Spring FrameworkServlet 'grails'<br /> </span><span style="color: #008080">26</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">2009</span><span style="color: #000000">-</span><span style="color: #000000">03</span><span style="color: #000000">-</span><span style="color: #000000">12</span><span style="color: #000000"> </span><span style="color: #000000">20</span><span style="color: #000000">:</span><span style="color: #000000">00</span><span style="color: #000000">:</span><span style="color: #000000">09.445</span><span style="color: #000000">::INFO:  Started SelectChannelConnector@</span><span style="color: #000000">0.0.0.0</span><span style="color: #000000">:</span><span style="color: #000000">8080</span><span style="color: #000000"><br /> </span><span style="color: #008080">27</span><span style="color: #000000"><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Server running. Browse to http://localhost:</span><span style="color: #000000">8080</span><span style="color: #000000">/hello</span></div> 鎵撳紑嫻忚鍣紝杈撳叆<a href="http://localhost:8080/hello/hello/index">http://localhost:8080/hello/hello/index</a> 鏌ョ湅榪愯緇撴灉<br /> <img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/bobojava/1123.JPG" /><br /> 鍦板潃鏍忎腑錛岀涓涓猦ello涓洪」鐩悕錛岀浜宧ello涓烘帶鍒跺櫒鍚嶏紝index涓烘搷浣滃悕銆?br /> <br /> 鏈鍩烘湰鐨勪竴涓叆闂ㄧ▼搴忓啓瀹屼簡錛岄櫎浜嗘墜宸ョ紪鍐欏錛屾垜浠繕鍙互浣跨敤NetBeans浣滀負寮鍙慖DE錛屽ぇ澶х畝鍖栧紑鍙戞祦紼嬨傝嚦灝戜笉鐢ㄨ閭d箞澶氬懡浠や簡鍝堬紒<br /> <img style="width: 880.29px; height: 528.42px" border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/bobojava/031211.JPG" width="880" height="528" /><br /> <img src ="http://www.tkk7.com/bobojava/aggbug/259394.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bobojava/" target="_blank">Rique</a> 2009-03-12 18:12 <a href="http://www.tkk7.com/bobojava/articles/259394.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Grails鍏ラ棬涔嬩竴錛?鐜閰嶇疆鍙婄畝鍗曞懡浠や粙緇?/title><link>http://www.tkk7.com/bobojava/articles/258752.html</link><dc:creator>Rique</dc:creator><author>Rique</author><pubDate>Tue, 10 Mar 2009 03:19:00 GMT</pubDate><guid>http://www.tkk7.com/bobojava/articles/258752.html</guid><wfw:comment>http://www.tkk7.com/bobojava/comments/258752.html</wfw:comment><comments>http://www.tkk7.com/bobojava/articles/258752.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bobojava/comments/commentRss/258752.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bobojava/services/trackbacks/258752.html</trackback:ping><description><![CDATA[<p>棣栧厛錛岃鎴戜滑鏉ユ惌寤鴻搗寮鍙慓rails鐨勭幆澧冦傚湪Windows騫沖彴涓嬶紝浠栫殑閰嶇疆鍜孞ava鐨勭幆澧冨崄鍒嗙浉浼鹼紝閭f垜浠竴姝ヤ竴姝ュ紑濮嬪惂錛?br /> 涓銆佷笅杞芥渶鏂扮殑鍙戝竷鐗堟湰錛?a >http://www.grails.org</a>.瑙e帇鍚庡鐢ㄣ傛湰浜烘妸瑙e帇鍚庣殑鏂囦歡緗簬Grooy鐩綍涓嬨傦紙浠ュ悗鐨勫紑鍙戦兘鍦℅roovy鐩綍涓嬪畬鎴愶紝鏈濂藉啀寤轟釜鐩綍projects錛?br /> 浜屻佽緗瓽RAILS_HOME鐜鍙橀噺錛岀被浼間簬Java鐜鍙橀噺錛屾壘鍒拌В鍘嬪悗鐨勬牴鐩綍錛屽:E:\Groovy\grails-1.0.4 <img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/bobojava/1.JPG" width="344" height="137" /><br /> 涓夈佸皢GRAILS_HOME鍔犲叆鍒癙ATH涓紝%GRAILS_HOME%/bin<br /> <img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/bobojava/2.JPG" /><br /> OK錛岀幇鍦ㄦ祴璇曚竴涓嬶紝鍛戒護琛屼笅杈撳叆grails錛屽鍥撅細<br /> <img style="width: 744px; height: 113px" border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/bobojava/3.JPG" width="744" height="113" /><br /> <br /> <br /> 濂戒簡錛屽噯澶囧伐浣滃氨緇紝璁╂垜浠紑濮嬩粙緇嶅嚑涓畝鍗曠殑鍛戒護鍚э紒<br /> <br /> 鍛戒護琛屼笅杈撳叆grails help錛屽厛鏉ョ湅鐪媑rails鐨勫熀鏈懡浠ゅ惂<br /> </p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><span style="color: #008080"> 1</span><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><span style="color: #000000">C:\>grails help<br /> </span><span style="color: #008080"> 2</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /> </span><span style="color: #008080"> 3</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Welcome to Grails </span><span style="color: #000000">1.0.4</span><span style="color: #000000"> - http://grails.org/<br /> </span><span style="color: #008080"> 4</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Licensed under Apache Standard License </span><span style="color: #000000">2.0</span><span style="color: #000000"><br /> </span><span style="color: #008080"> 5</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Grails home is set to: E:\Groovy\grails-</span><span style="color: #000000">1.0.4</span><span style="color: #000000">        <br /> </span><span style="color: #008080"> 6</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />        <br /> </span><span style="color: #008080"> 7</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Base Directory: C:\<br /> </span><span style="color: #008080"> 8</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Note: No plugin scripts found<br /> </span><span style="color: #008080"> 9</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Running script E:\Groovy\grails-</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\scripts\Help.groovy<br /> </span><span style="color: #008080">10</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Environment set to development<br /> </span><span style="color: #008080">11</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /> </span><span style="color: #008080">12</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />        Usage (optionals marked with *): <br /> </span><span style="color: #008080">13</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />        grails </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">environment</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000">* </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">target</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">arguments</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000">*<br /> </span><span style="color: #008080">14</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /> </span><span style="color: #008080">15</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />        Examples: <br /> </span><span style="color: #008080">16</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />        grails dev run-app    <br /> </span><span style="color: #008080">17</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />        grails create-app books<br /> </span><span style="color: #008080">18</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /> </span><span style="color: #008080">19</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />        Available Targets (type grails help 'target-name' for more info):<br /> </span><span style="color: #008080">20</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails bootstrap<br /> </span><span style="color: #008080">21</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails bug-report<br /> </span><span style="color: #008080">22</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails clean<br /> </span><span style="color: #008080">23</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails compile<br /> </span><span style="color: #008080">24</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails console<br /> </span><span style="color: #008080">25</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-app<br /> </span><span style="color: #008080">26</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-controller<br /> </span><span style="color: #008080">27</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-domain-class<br /> </span><span style="color: #008080">28</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-filters<br /> </span><span style="color: #008080">29</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-integration-test<br /> </span><span style="color: #008080">30</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-plugin<br /> </span><span style="color: #008080">31</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-script<br /> </span><span style="color: #008080">32</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-service<br /> </span><span style="color: #008080">33</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-tag-lib<br /> </span><span style="color: #008080">34</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails create-unit-test<br /> </span><span style="color: #008080">35</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails doc<br /> </span><span style="color: #008080">36</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails generate-all<br /> </span><span style="color: #008080">37</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails generate-controller<br /> </span><span style="color: #008080">38</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails generate-views<br /> </span><span style="color: #008080">39</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails help<br /> </span><span style="color: #008080">40</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails init<br /> </span><span style="color: #008080">41</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails install-plugin<br /> </span><span style="color: #008080">42</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails install-templates<br /> </span><span style="color: #008080">43</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails list-plugins<br /> </span><span style="color: #008080">44</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails package<br /> </span><span style="color: #008080">45</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails package-plugin<br /> </span><span style="color: #008080">46</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails plugin-info<br /> </span><span style="color: #008080">47</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails release-plugin<br /> </span><span style="color: #008080">48</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails run-app<br /> </span><span style="color: #008080">49</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails run-app-https<br /> </span><span style="color: #008080">50</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails run-war<br /> </span><span style="color: #008080">51</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails set-proxy<br /> </span><span style="color: #008080">52</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails set-version<br /> </span><span style="color: #008080">53</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails shell<br /> </span><span style="color: #008080">54</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails stats<br /> </span><span style="color: #008080">55</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails test-app<br /> </span><span style="color: #008080">56</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails upgrade<br /> </span><span style="color: #008080">57</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />grails war</span></div> 鍓嶉潰鏄懡浠ゆ牸寮忎粙緇嶏紝鍚庨潰浠?0-57琛屾誨叡38鏉″懡浠わ紝鍦ㄥ簲鐢ㄤ腑浼氶愪竴浠嬬粛銆?br /> 鍏朵腑錛屽簲鐢ㄥ垱寤哄懡浠rails create-app鏈涓哄父鐢紝瀹冧細涓烘垜浠垱寤轟竴涓爣鍑嗙殑瑙勮寖鍖栫殑grails搴旂敤妗嗘灦鐩綍銆傚鍥撅紝<br /> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><span style="color: #008080"> 1</span><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><span style="color: #000000">E:\Groovy\projects>grails create-app hello<br /> </span><span style="color: #008080"> 2</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /> </span><span style="color: #008080"> 3</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Welcome to Grails </span><span style="color: #000000">1.0.4</span><span style="color: #000000"> - http://grails.org/<br /> </span><span style="color: #008080"> 4</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Licensed under Apache Standard License </span><span style="color: #000000">2.0</span><span style="color: #000000"><br /> </span><span style="color: #008080"> 5</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Grails home is set to: E:\Groovy\grails-</span><span style="color: #000000">1.0.4</span><span style="color: #000000">        <br /> </span><span style="color: #008080"> 6</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />        <br /> </span><span style="color: #008080"> 7</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Base Directory: E:\Groovy\projects<br /> </span><span style="color: #008080"> 8</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Note: No plugin scripts found<br /> </span><span style="color: #008080"> 9</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Running script E:\Groovy\grails-</span><span style="color: #000000">1.0.4</span><span style="color: #000000">\scripts\CreateApp.groovy<br /> </span><span style="color: #008080">10</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Environment set to development<br /> </span><span style="color: #008080">11</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\src<br /> </span><span style="color: #008080">12</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\src\java<br /> </span><span style="color: #008080">13</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\src\groovy<br /> </span><span style="color: #008080">14</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app<br /> </span><span style="color: #008080">15</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\controllers<br /> </span><span style="color: #008080">16</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\services<br /> </span><span style="color: #008080">17</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\domain<br /> </span><span style="color: #008080">18</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\taglib<br /> </span><span style="color: #008080">19</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\utils<br /> </span><span style="color: #008080">20</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\views<br /> </span><span style="color: #008080">21</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\views\layouts<br /> </span><span style="color: #008080">22</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\i18n<br /> </span><span style="color: #008080">23</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\conf<br /> </span><span style="color: #008080">24</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\test<br /> </span><span style="color: #008080">25</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\test\unit<br /> </span><span style="color: #008080">26</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\test\integration<br /> </span><span style="color: #008080">27</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\scripts<br /> </span><span style="color: #008080">28</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\web-app<br /> </span><span style="color: #008080">29</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\web-app\js<br /> </span><span style="color: #008080">30</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\web-app\css<br /> </span><span style="color: #008080">31</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\web-app\images<br /> </span><span style="color: #008080">32</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\web-app\META-INF<br /> </span><span style="color: #008080">33</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\lib<br /> </span><span style="color: #008080">34</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\conf\spring<br /> </span><span style="color: #008080">35</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />    </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">mkdir</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Created dir: E:\Groovy\projects\hello\grails-app\conf\hibernate<br /> </span><span style="color: #008080">36</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /></span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">propertyfile</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Creating new property file: E:\Groovy\projects\hello\application.properties<br /> </span><span style="color: #008080">37</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">2</span><span style="color: #000000"> files to E:\Groovy\projects\hello<br /> </span><span style="color: #008080">38</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copied </span><span style="color: #000000">1</span><span style="color: #000000"> empty directory to </span><span style="color: #000000">1</span><span style="color: #000000"> empty directory under E:\Groovy\projects\hello<br /> </span><span style="color: #008080">39</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">2</span><span style="color: #000000"> files to E:\Groovy\projects\hello\web-app\WEB-INF<br /> </span><span style="color: #008080">40</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">5</span><span style="color: #000000"> files to E:\Groovy\projects\hello\web-app\WEB-INF\tld<br /> </span><span style="color: #008080">41</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">28</span><span style="color: #000000"> files to E:\Groovy\projects\hello\web-app<br /> </span><span style="color: #008080">42</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">18</span><span style="color: #000000"> files to E:\Groovy\projects\hello\grails-app<br /> </span><span style="color: #008080">43</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to E:\Groovy\projects\hello<br /> </span><span style="color: #008080">44</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to E:\Groovy\projects\hello<br /> </span><span style="color: #008080">45</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to E:\Groovy\projects\hello<br /> </span><span style="color: #008080">46</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />     </span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">copy</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Copying </span><span style="color: #000000">1</span><span style="color: #000000"> file to E:\Groovy\projects\hello<br /> </span><span style="color: #008080">47</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /></span><span style="color: #800000; font-weight: bold">[</span><span style="color: #800000">propertyfile</span><span style="color: #800000; font-weight: bold">]</span><span style="color: #000000"> Updating property file: E:\Groovy\projects\hello\application.properties<br /> </span><span style="color: #008080">48</span><span style="color: #000000"><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />Created Grails Application at E:\Groovy\projects/hello</span></div> <br /> Hello鏄垜浠垱寤虹殑絎竴涓猤rails搴旂敤錛実rails鑷姩涓烘垜浠垱寤哄繀瑕佺殑鐩綍緇撴瀯銆?br /> <img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/bobojava/4-1.JPG" width="206" height="221" /><br /> 涓嬭妭鎴戜滑灝嗗熀浜庤繖涓洰褰曠粨鏋勶紝榪涜絎竴涓叆闂ㄧ殑HelloWorld搴旂敤寮鍙戙?br /> <img src ="http://www.tkk7.com/bobojava/aggbug/258752.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bobojava/" target="_blank">Rique</a> 2009-03-10 11:19 <a href="http://www.tkk7.com/bobojava/articles/258752.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://9ts9.com" target="_blank">日韩亚洲人成在线</a>| <a href="http://yixinbanks.com" target="_blank">久久精品国产亚洲Aⅴ香蕉</a>| <a href="http://90hong.com" target="_blank">曰韩亚洲av人人夜夜澡人人爽</a>| <a href="http://www-456446.com" target="_blank">亚洲一卡2卡3卡4卡乱码 在线</a>| <a href="http://xiaojiejieav.com" target="_blank">69视频免费在线观看</a>| <a href="http://625r.com" target="_blank">久久精品亚洲中文字幕无码麻豆</a>| <a href="http://lemonbt.com" target="_blank">国产亚洲免费的视频看</a>| <a href="http://dfcnpc.com" target="_blank">精品亚洲一区二区</a>| <a href="http://zdmaid.com" target="_blank">精品国产麻豆免费人成网站</a>| <a href="http://bisilover.com" target="_blank">亚洲gv白嫩小受在线观看</a>| <a href="http://youtobey.com" target="_blank">AAA日本高清在线播放免费观看</a>| <a href="http://www-44455588.com" target="_blank">亚洲色无码专区在线观看</a>| <a href="http://bbav04.com" target="_blank">黄网站色视频免费在线观看的a站最新 </a>| <a href="http://xieehuomh.com" target="_blank">免费的涩涩视频在线播放</a>| <a href="http://www132126.com" target="_blank">亚洲精品国产日韩</a>| <a href="http://dw168cn.com" target="_blank">四虎影视永久免费观看网址</a>| <a href="http://eigakyuka.com" target="_blank">特黄特色大片免费</a>| <a href="http://tuopumao.com" target="_blank">亚洲精品高清无码视频</a>| <a href="http://vo168.com" target="_blank">桃子视频在线观看高清免费视频</a>| <a href="http://ivy-fund.com" target="_blank">色拍自拍亚洲综合图区</a>| <a href="http://99880524.com" target="_blank">在线观看免费人成视频色</a>| <a href="http://haodiaose35pao.com" target="_blank">亚洲欧美日韩中文无线码 </a>| <a href="http://gzmcmy.com" target="_blank">亚洲一级免费视频</a>| <a href="http://zjpcyh.com" target="_blank">日韩一区二区在线免费观看 </a>| <a href="http://hn283.com" target="_blank">一区二区三区免费在线视频 </a>| <a href="http://zgdhuibao.com" target="_blank">亚洲AV第一页国产精品</a>| <a href="http://0769wwt.com" target="_blank">51精品视频免费国产专区</a>| <a href="http://6878vip.com" target="_blank">亚洲综合校园春色</a>| <a href="http://guilinsix.com" target="_blank">亚洲AV无码乱码在线观看性色扶</a>| <a href="http://93qsgy.com" target="_blank">a视频免费在线观看</a>| <a href="http://www-175345.com" target="_blank">亚洲熟妇av一区</a>| <a href="http://plladay.com" target="_blank">国产极品美女高潮抽搐免费网站</a>| <a href="http://by6216.com" target="_blank">国产精品成人69XXX免费视频</a>| <a href="http://langse3.com" target="_blank">亚洲国产老鸭窝一区二区三区</a>| <a href="http://gw311.com" target="_blank">野花高清在线观看免费3中文</a>| <a href="http://wwwyy763.com" target="_blank">极品色天使在线婷婷天堂亚洲</a>| <a href="http://sitefmns.com" target="_blank">亚洲欧洲日产国码无码久久99</a>| <a href="http://s8023.com" target="_blank">24小时日本韩国高清免费</a>| <a href="http://34007c.com" target="_blank">国产精品亚洲精品久久精品 </a>| <a href="http://ee45987.com" target="_blank">成人人免费夜夜视频观看</a>| <a href="http://hbjpxnyqckj.com" target="_blank">一区二区三区免费高清视频</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>