锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲美女在线国产,精品无码专区亚洲,亚洲娇小性xxxxhttp://blogjava.net/leeguannan/category/28897.html棰勬祴鏈潵鐨勬渶濂藉姙娉曪紝灝辨槸鎶婂畠鍒涢犲嚭鏉?--- 闃夸雞.鍑?/description>zh-cnThu, 27 Mar 2008 12:00:54 GMTThu, 27 Mar 2008 12:00:54 GMT60RAP鍐嶆鏀懼叆浠や漢鎸鐨凞emohttp://www.tkk7.com/leeguannan/archive/2008/03/27/188973.html闃垮崡闃垮崡Thu, 27 Mar 2008 04:29:00 GMThttp://www.tkk7.com/leeguannan/archive/2008/03/27/188973.htmlhttp://www.tkk7.com/leeguannan/comments/188973.htmlhttp://www.tkk7.com/leeguannan/archive/2008/03/27/188973.html#Feedback1http://www.tkk7.com/leeguannan/comments/commentRss/188973.htmlhttp://www.tkk7.com/leeguannan/services/trackbacks/188973.html    姝ゆRAP鏀懼嚭浜哾raw2d_in_RAP鐨凞emo錛屼富瑕佸睍紺虹殑鏄痙raw2D鍦≧AP妗嗘灦涓婄殑搴旂敤錛岃繕娌℃湁涓嬭澆鐪熸鐨凞emo璇曠敤錛屼絾鏄粠瑙嗛涓婄湅錛屽ソ鍍忔槸铻嶅悎浜唂lex鏉ュ仛鍥懼艦灞曠ず鍜屾嫋鎷斤紝鏈夊叴瓚g殑鏈嬪弸鍙互鐪嬬湅Demo鐨勪唬鐮侊紝鐒跺悗鍛婅瘔鎴憕

    涓婃e4鏀懼嚭鐨勫熀浜巜eb鐨処DE灝變嬌鐢╢lash浣滀負浠g爜灞曠ず鍜岀紪杈戠殑緙栬緫鍣紝鐪嬫潵Eclipse紺懼洟涔熸劅瑙夊埌綰殑js鍩烘湰涓婁笉鑳藉畬鎴愪換鍔′簡銆?/p>

Demo涓嬭澆鍦板潃錛?a title="http://www.innoopract.com/fileadmin/user_upload/Bilder/Films/draw2d_640x480.mp4" >http://www.innoopract.com/fileadmin/user_upload/Bilder/Films/draw2d_640x480.mp4



闃垮崡 2008-03-27 12:29 鍙戣〃璇勮
]]>
RAP瀹樻柟鑰佺獫http://www.tkk7.com/leeguannan/archive/2008/01/13/175002.html闃垮崡闃垮崡Sun, 13 Jan 2008 10:11:00 GMThttp://www.tkk7.com/leeguannan/archive/2008/01/13/175002.htmlhttp://www.tkk7.com/leeguannan/comments/175002.htmlhttp://www.tkk7.com/leeguannan/archive/2008/01/13/175002.html#Feedback0http://www.tkk7.com/leeguannan/comments/commentRss/175002.htmlhttp://www.tkk7.com/leeguannan/services/trackbacks/175002.html鏈夋湅鍙嬪湪blog涓粰鎴戠暀璦錛岃鎵懼埌RAP鐨勫畼鏂瑰湴鍧錛岀幇鍦ㄦ垜灝卞湪姝ゅ叕甯冧竴涓嬶紝鏈夊叴瓚g殑鏈嬪弸鍙互鍘葷湅鐪婦emo銆?/p>

瀹樻柟棣栭〉

http://www.eclipse.org/rap/

Demo鍦板潃

http://www.eclipse.org/rap/demos.php   姝ら〉闈㈡彁渚?涓狣emo錛屽叾涓殑SWT鐨勫畼鏂笵emo鐨凴AP瀹炵幇鍦≧AP鐨勫彂琛屽寘涓紝鑷繁涓嬭澆涓嬫潵錛岃嚜宸盧UN璧鋒潵灝辮兘鐪嬪埌浜嗭紱

 

RAP寮鍙戦澶村叕鍙?/p>

  • Innoopract   浠庡紑鍙戜漢鍛樺垪琛ㄥ拰瀹樻柟緗戠珯鐨勬敮鎸佸姏搴︿笂錛屾鍏徃鏈寮猴紒錛堝ソ鍍忔槸瀹跺痙鍥藉叕鍙革紒錛?
  • 1&1
  • CAS


  • 闃垮崡 2008-01-13 18:11 鍙戣〃璇勮
    ]]>
    涓孌墊潵鑷猠ws.eclipse.technology.rap鐨勫叧浜嶶pload a file鐨勪唬鐮?/title><link>http://www.tkk7.com/leeguannan/archive/2008/01/11/174597.html</link><dc:creator>闃垮崡</dc:creator><author>闃垮崡</author><pubDate>Fri, 11 Jan 2008 05:17:00 GMT</pubDate><guid>http://www.tkk7.com/leeguannan/archive/2008/01/11/174597.html</guid><wfw:comment>http://www.tkk7.com/leeguannan/comments/174597.html</wfw:comment><comments>http://www.tkk7.com/leeguannan/archive/2008/01/11/174597.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/leeguannan/comments/commentRss/174597.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/leeguannan/services/trackbacks/174597.html</trackback:ping><description><![CDATA[<p><tt>I impleted my File upload/download system with rap internal Browser + servlet. <br />upload dialog&#65306;</tt></p> <pre>public class FileUploadDialog extends TitleAreaDialog { private Browser browser;</pre> <pre> public FileUploadDialog(Shell parentShell) { super(parentShell); }</pre> <pre> /** * Create contents of the dialog * @param parent */ @Override protected Control createDialogArea(Composite parent) { Composite area = (Composite) super.createDialogArea(parent); Composite container = new Composite(area, SWT.NONE); container.setLayout(new FillLayout()); container.setLayoutData(new GridData(GridData.FILL_BOTH));</pre> <br /><tt>browser = new Browser(container, SWT.NONE); <br />String url = "<a href="http://"+rwt.getrequest/">http://"+RWT.getRequest</a>().getServerName()+":"+RWT.getRequest().getServerPort()+"/web/fileupload.jsp"; <br />String html = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><html><head><title>upload file</title></head><body>"+ <br />"<form action=\""+url+"\" enctype=\"MULTIPART/FORM-DATA\" method=\"post\"><br />File Name:</br><input type=\"file\""+ <br />" name=\"filename\"/><br><input type=\"submit\" value=\"upload\"/></form></body></html> "; <br />browser.setText(html); <br />setMessage("select a local file"); <br />return area; <br />}</tt> <pre> /** * Return the initial size of the dialog */ @Override protected Point getInitialSize() { return new Point(382, 280); }</pre> <pre> protected void configureShell(Shell newShell) { super.configureShell(newShell); newShell.setText("upload file"); }</pre> <pre>}</pre> <pre><br />file upload sevlet:</pre> <pre>public class FileUploadServlet extends HttpServlet { private static final long serialVersionUID = -7245361228773015964L; private String uploadPath = "/upload/"; // server file repository private String tempPath = "/upload/tmp/"; //temp file folder</pre> <br /><tt>public void doPost(HttpServletRequest request, HttpServletResponse response) <br />throws IOException, ServletException { <br />try { <br />DiskFileUpload fu = new DiskFileUpload(); <br />// max file size fu.setSizeMax(-1); <br />// buffer size <br />fu.setSizeThreshold(4096); <br />// temp path <br />fu.setRepositoryPath(tempPath);</tt> <pre> // get all uploa file List fileItems = fu.parseRequest(request); Iterator i = fileItems.iterator(); while (i.hasNext()) { FileItem fi = (FileItem) i.next(); // get the upload file name String fileName = fi.getName(); String sep = System.getProperty("file.separator"); int index = fileName.lastIndexOf(sep); if(index >-1){ fileName = fileName.substring(fileName.lastIndexOf(sep)); } fi.write(new File(uploadPath + fileName)); response.getWriter().println(fileName+"upload success"); } } catch (Exception e) { //do something? e.printStackTrace(); } } public void init() throws ServletException { if (!new File(uploadPath).isDirectory()) new File(uploadPath).mkdirs(); if (!new File(tempPath).isDirectory()) new File(tempPath).mkdirs(); } }</pre> <pre>registe servlet:</pre> <pre><br /> public class HttpServiceTracker extends ServiceTracker {</pre> <pre> public HttpServiceTracker(BundleContext context) { super(context, HttpService.class.getName(), null); }</pre> <br /><tt>public Object addingService(ServiceReference reference) { <br />final HttpService httpService = (HttpService) context <br />.getService(reference); <br />try { <br />//regist file upload servlet <br />HttpContext commonContext = new BundleEntryHttpContext(context <br />.getBundle(), fileFolder); <br />httpService.registerResources(fileContext, "/", commonContext);</tt> <br /><tt>Servlet adaptedJspServlet = new ContextPathServletAdaptor( <br />new FileUploadServlet(), <br />fileContext); <br />httpService.registerServlet(fileContext + "/fileupload.file", <br />adaptedJspServlet, null, commonContext);</tt> <pre> } catch (Exception e) { e.printStackTrace(); } return httpService; }</pre> <br /><tt>public void removedService(ServiceReference reference, Object service) { <br />final HttpService httpService = (HttpService) service; <br />httpService.unregister(fileContext); <br />httpService.unregister(fileContext + "/fileupload.jsp"); <br />super.removedService(reference, service); <br />} <br />}</tt> <pre>start servlet:</pre> <pre> add these code to the bundle start up method. public void start(BundleContext context) throws Exception { super.start(context); plugin = this; httpServiceTracker = new HttpServiceTracker(context); httpServiceTracker.open(); System.out.println("IM resource servlet started..."); }</pre> <p> </p> <p>榪欎釜瀹炵幇鏄湪RAP涓嬌鐢˙rowser+servlet瀹炵幇鐨勬枃浠朵笂浼犲姛鑳斤紱</p> <p>鍏跺疄鍦≧AP鐨刢vs涓婂凡緇忔斁鍑轟簡org.eclipse.rwt.widgets.upload錛屼笓鐢ㄤ簬涓婁紶鐨勭粍浠訛紝嫻嬭瘯浜嗕竴涓嬶紝鏁堟灉榪樹笉閿欙紝鏈夎繘搴︽潯鎻愮ず錛涗笉榪囧湪IE6涓嬶紝鏈夌偣闅劇湅浜嗭紝鍦‵F3涓嬩笉鑳戒嬌鐢紱</p><img src ="http://www.tkk7.com/leeguannan/aggbug/174597.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/leeguannan/" target="_blank">闃垮崡</a> 2008-01-11 13:17 <a href="http://www.tkk7.com/leeguannan/archive/2008/01/11/174597.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Eclipse-RCP寮鍙戣呯殑紱忛煶http://www.tkk7.com/leeguannan/archive/2008/01/10/174440.html闃垮崡闃垮崡Thu, 10 Jan 2008 13:13:00 GMThttp://www.tkk7.com/leeguannan/archive/2008/01/10/174440.htmlhttp://www.tkk7.com/leeguannan/comments/174440.htmlhttp://www.tkk7.com/leeguannan/archive/2008/01/10/174440.html#Feedback4http://www.tkk7.com/leeguannan/comments/commentRss/174440.htmlhttp://www.tkk7.com/leeguannan/services/trackbacks/174440.html    Eclipse-RAP欏圭洰鐪熺殑鍙互綆楁槸Eclipse-RCP寮鍙戣呯殑紱忛煶錛屼竴濂楄蔣浠剁殑寮鍙戞垚鏈紝涓ゅ杞歡鐨勭壒鎬瀵逛簬姝e湪瀵繪眰C/S鍚態/S杞Щ鐨勫叕鍙告潵璇達紝鍙互綆楁槸涓涓闊充簡銆?/p>

        鍏徃鏈榪戞鍦ㄥ仛璋冩暣錛屾墦綆楀皢鍘熸湁7澶ц蔣浠朵駭鍝侊紝鍦˙/S涓婇噸鏂版墦閫犱竴鐣獈鍓嶆櫙寰堜笉閿欙紝甯傚満浠峰奸潪甯稿ぇ~鎴戜滑鎵鍏沖績鐨勫茍涓嶆槸甯傚満浠峰肩┒绔熸湁澶氬ぇ錛堟湁涓婇潰鐨勫ぇ棰嗗鎾戠潃錛屾垜浠笉鐢ㄦ媴蹇冿級錛屾垜浠叧蹇冪殑鏄紝濡備綍鎵撶牬鍘熸湁鐨凚/S寮鍙戞ā寮忥紝璁╃▼搴忓憳浠兘楂橀熺殑寮鍙戝嚭闇瑕佺郴緇燂紝鑰屼笖榪欎簺緋葷粺鍙堣兘閬靛畧鍏卞悓鐨勭壒鐐癸紝鍘熸湁鐨凚/S寮鍙戞ā寮忓彧鍙兘璁╃▼搴忓憳鍘熸潵瓚婁笉OO浜嗭紝寰堟湁鍙兘闄峰叆JS鐨勯櫡闃變腑銆?/p>

        鎴戜滑鎶婄洰鍏夎漿縐誨埌浜咷WT涓婏紝浠栫‘瀹炲彲浠ヨJAVA寮鍙戜漢鍛樺彧涓撴敞鐨勫啓JAVA灝卞彲浠ヤ簡錛屼竴鍒囬兘鏄畠鐨勪簨鎯呬簡~浣嗘槸鏈楹葷儲鐨勪簨鎯咃紝灝辨槸閫熷害闂錛岀紪璇戠殑鏃跺欏緢鎱紝鑰屼笖榪樻彁鍑轟簡妯″潡鐨勬蹇碉紝涓嶅ソ鐞嗚В錛屾斁寮冨畠鐨勫彟涓涓渶閲嶈鐨勫師鍥犳槸瀹冨茍涓嶆槸涓涓鏋訛紝鍙槸涓涓伐鍏烽泦鑰屽凡銆?/p>

        鐒跺悗錛屾垜浠彂鐜頒簡RAP-Rich Ajax Platform錛屼粠瀹冪殑棣栭〉涓婂茍鐪嬩笉鍑轟粈涔堢壒鍒紝浣嗘槸娣卞叆Demo錛屾墠鐪熺殑鍙戠幇鍒湁媧炲ぉ鍟妦鍘熸潵涓鍒囨潵鐨勯兘鏄偅涔堢畝鍗晘~~~瀹冨叾瀹炲氨鏄緷鐓т笌Eclipse-RCP鐨勫熀紜榪愯鏃跺仛浜嗕竴濂楄嚜宸辯殑鍩虹榪愯鏃禦AP錛屾崲鍙ヨ瘽璇村氨鏄師鏈紑鍙戝ソ鐨凴CP欏圭洰錛屽彲浠ュ湪浠呭鍔犱竴涓墿灞曠偣鐨勫熀紜涓婏紝騫蟲粦鐨勮繃搴﹀埌RAP涓婏紝绔嬪嵆浠庝竴涓狢/S紼嬪簭鍙樻垚浜嗕竴涓狟/S紼嬪簭~鐪熺殑寰堜護浜洪渿鎯婏紒浠婂ぉ鏃╀笂鍜屽悓浜嬮厤鍚堬紝灝嗘垜浠嚑涓湀鍓嶅仛鐨?涓彃浠訛紝鐢ㄤ簡涓鏃╀笂鐨勬椂闂磋縼縐誨埌RAP涓婏紝鍑犱箮鍘熸湁鍔熻兘瀹屽叏淇濈暀錛?/p>

        濡傛灉浣犱篃鏄敤RCP鍋氬紑鍙戠殑璇濓紝寤鴻浣犲彲浠ヨ瘯璇昍AP錛屽畠浼氱粰浣犱竴鎯充笉鍒扮殑浣撻獙錛?/p>

        闇瑕佹敞鎰忕殑鏄紝RAP鏄幓騫?0鏈堜喚鎵嶆寮忓彂甯冪殑1.0鐗堟湰錛屾墍浠ヨ繕鏄湁寰堝涓滆タ鏄病鏈夛紝榪樻槸闇瑕佷竴孌墊椂闂寸殑絳夊緟錛岀壒鍒槸鍦?.1鍙戝竷鍚庯紝鍑犱箮鏀寔鎵鏈塖WT鐨勭壒鎬т簡~

        涓轟簡娣卞叆鐨勮璁篟AP錛屾垜宸茬粡寮鏀句簡Eclipse-RAP鍒嗙被錛屾參鎱細鏈夋洿澶氱殑鍏充簬RAP鐨勬枃绔犲嚭鐜幫紝鍔姏涓板瘜涓涓婻AP鐨勪腑鏂囨枃妗o紒



    闃垮崡 2008-01-10 21:13 鍙戣〃璇勮
    ]]>
    主站蜘蛛池模板: 免费手机在线看片| 日日噜噜噜噜夜夜爽亚洲精品 | 国产午夜免费高清久久影院| 亚洲色欲色欱wwW在线| 久久亚洲一区二区| 国产国拍亚洲精品福利 | 国产精品国产自线拍免费软件| 精品一区二区三区免费| 特级毛片爽www免费版| 亚洲人成电影网站色www| 亚洲精品无码久久久久久久| 国产精品亚洲A∨天堂不卡| www亚洲一级视频com| 国产青草视频在线观看免费影院| 日本免费网址大全在线观看| 91免费国产精品| 久久综合给合久久国产免费| a毛片免费在线观看| a级毛片免费高清视频| 免费VA在线观看无码| 国产一区二区三区亚洲综合| 亚洲AV成人精品一区二区三区 | 午夜dj免费在线观看| 在线看片韩国免费人成视频| 51在线视频免费观看视频| 9277手机在线视频观看免费| 久久免费看少妇高潮V片特黄| 13小箩利洗澡无码视频网站免费 | 中文字幕第13亚洲另类| 亚洲日本中文字幕天堂网| 亚洲美日韩Av中文字幕无码久久久妻妇 | 日韩高清免费观看| 日本免费一区尤物| 无码不卡亚洲成?人片| 亚洲成AV人网址| 在线观看国产区亚洲一区成人 | 国产va免费观看| 中国国产高清免费av片| a级片在线免费看| 麻豆精品成人免费国产片| 久久国产免费观看精品3|