Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

flexµ÷ÓÃservlet

ÎÒÏëÓÃflexµ÷ÓÃservletÖеÄdoget·½·¨£¬Çë´ó¼Ò°ïæ¿´Ò»ÏÂÄÄÀïÓÐÎÊÌâ~¶àл
servlet¶Ë£º

package com.abc.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class Test1 extends HttpServlet {

public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {

System.out.println("ÒѾ­µ÷ÓÃservlet");
}


public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {


}

}


Flex¶Ë£º

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
layout="absolute" 
creationComplete="service.send()">

<mx:HTTPService id="service" 
url="http://localhost:8080/test1/com.abc.servlet/Test1.do"
method="GET" />  
  <mx:Script>  
  <!--[CDATA[  
  private function send():void{  
  //·¢ËÍÇëÇó  


Ïà¹ØÎÊ´ð£º

ÐÂÊÖÇóÈçºÎÔÚFLEXÖ÷³ÌÐòµ÷ÓÃ×Ô¶¨Òå×é¼þ

×Ô¶¨Òå×é¼þÔÚcomponentĿ¼Ï¡£×Ô¶¨Òå×é¼þ´úÂëÈçÏ£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="verti ......

Flex+Java¿ª·¢ - Java / Web ¿ª·¢

×î½üÔÚ¿´¹ØÓÚflexºÍjavaÏà¹ØµÄ¶«Î÷£¬ÔÚÍøÉÏÏÂÁËЩDEMO·ÅÔÚEclipseÏÂÔËÐÐÒ²¿ÉÒÔ£¬¿É¾ÍÊÇ×Ô¼ºÐ´¸ö¼òµ¥µÄÀý×ÓÒ»²¿ÊðTomcat¾Í±¨´í£¬ºÜÊÇÓôÃÆ¡£¡£¡£
ÄÇλ´óÏÀ×ö¹ýÕâ·½ÃæµÄ¿ª·¢£¬°Ñ¿ª·¢²½Öè·ÖÏíÏ°ɣ¡£¡£¡
ÍøÉÏÏÂÔصĴó² ......

»¹ÏëÎÊÎÊ£¬FLEX·´Éä½Ð·´ÉäÂð

´ó¼ÒÌÖÂÛÌÖÂÛflexµÄ·´Éäµ½µ×³ÆµÄÉÏ·´ÉäÂð£¿
  ˵ÊÇÓз´É䣬µ«ÊÇ·´ÉäµÄÓеã¶àÓàÁË¡£¡£
APIÉÏÓÐÒ»¸öº¯ÊýµÄ˵Ã÷ÊÇÕâÑùдµÄ
describeType () º¯Êý 
Éú³ÉÃèÊö ActionScript ¶ÔÏó£¨ÃüÃûΪ·½·¨µÄ²ÎÊý£©µÄ ......

¹ØÓÚFlexµÄʼþ²¶»ñÎÊÌ⣬ÇëÐÖµÜÃÇ°ïÎÒ½â¾ö£¬Ð»¹ý~~~~

ÎÊÌâÊÇÕâÑùµÄ£¬ÎÒ×Ô¼ºÐ´ÁËÒ»¸ömodelÀ࣬Ëü¼Ì³Ð×ÔEventDispatcher£¬È»ºóÔÚÖ÷mxmlÖзÅÖÃÒ»¸öbuttonºÍÒ»¸öpanel£¬ÒªÇóµã»÷buttonºó£¬ÔÚbuttonµÄÏìÓ¦º¯ÊýÖÐnew ³ömodelµÄ¶ÔÏóm£¬È»ºóÓÃm·¢ËÍMouseEvent.CLICKÏûÏ¢£¬pa ......

FlexÈÚºÏJspÎÊÌâ Çë´ó¼Ò½øÀ´¿´¿´

FlexÓà flexiframeǶÈëJSP  
³öÏÖJSP ÕÚµ²×¡ FlexÌáʾ¿òÎÊÌâ
ÇëÎÊÔõô½â¾ö£¿
child ÎÒÊÔ¹ýÁËûÓá£
ËäȻǶÈëJSPµÄ¿Ø¼þÊÇFlexÀïµÄPanel±êÇ©£¬µ«ÊǸоõJspÎÞ·¨±»ÎÒ¿ØÖÆ¡£
Çó½â·¨.
¶¥Ï ϣÍû¸ßÊÖ½øÀ´½â¾öÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ