¹ØÓÚflex ¹¤³Ìµ¼ÈëÒÑÓеÄJ2EEÏîÄ¿ÖÐ ÅäÖùý³ÌÖб¨´í
Flex ¹¤³ÌÊÇͨ¹ýFlex Builder 3.0ÔÚeclipseÖеIJå¼þ¿ª·¢µÄ¡£FlexÏîÄ¿ÊÇÄܹ»Õý³£¶ÀÁ¢ÔËÐеġ£µ«ÊǸù¾ÝÐèÇó£¬Òª½«´ËFlexÏîĿӦÓõ½Ò»¸öJ2EEÏîÄ¿À°´ÕÕ²Ù×÷˵Ã÷£º
µã»÷¡°Flex project nature¡±,Ñ¡Ôñ¡°add Flex Project Nature¡±ÔÚÑ¡ÔñµÄ¹ý³ÌÖУ¬³öÏÖÁË¡°The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml¡±µÄ´íÎóÌáʾ¡£
ÏÖÔÚ»¹Ã»Óвé³öÎÊÌâµÄÔÒò£¬°´ÕÕÍøÉϵÄһЩ˵·¨£¬ºÃÏñÊÇ×é¼þÖ®¼äµÄÎÊÌ⣡£¡
µ«ÊÇ£¬»¹ÊÇûÓÐÕÒµ½ÎÊÌâµÄ½â¾ö°ì·¨£¡£¡
Çë´ó¼Ò°ï棡лл£¡
Ïà¹ØÎÊ´ð£º
×î½üÔÚ¿´¹ØÓÚflexºÍjavaÏà¹ØµÄ¶«Î÷£¬ÔÚÍøÉÏÏÂÁËЩDEMO·ÅÔÚEclipseÏÂÔËÐÐÒ²¿ÉÒÔ£¬¿É¾ÍÊÇ×Ô¼ºÐ´¸ö¼òµ¥µÄÀý×ÓÒ»²¿ÊðTomcat¾Í±¨´í£¬ºÜÊÇÓôÃÆ¡£¡£¡£
ÄÇλ´óÏÀ×ö¹ýÕâ·½ÃæµÄ¿ª·¢£¬°Ñ¿ª·¢²½Öè·ÖÏíϰɣ¡£¡£¡
ÍøÉÏÏÂÔØµÄ´ó² ......
1.È«ÈÕÖÆÕý¹æ±¾¿Æ¼ÆËã»úÏà¹Ø×¨Òµ±ÏÒµ£¬Á½ÄêÒÔÉÏÏà¹Ø¹¤×÷¾Ñ飻
2.ÊìÁ·Ê¹ÓÃAction Script 3.0ÔÚFlexBuilder»·¾³Ï¿ª·¢£¬ÊìÁ·Ê¹ÓÃFlexÓëAIRµÄ±ê×¼×é¼þ£»
3.Á˽âJavaScript¡¢CSS¡¢Ajax £»
4.¾ßÓÐÁ¼ºÃµÄ¾´Òµ¾«ÉñºÍÍŶ ......
package {
import flash.display.*;
//import flash.text.TextField;
//import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.net.URLReq ......
ÎÒÓиöservlet£¬Õâ¸öservletÊÇÏ൱ÓÚindex.jsp£¬¶ÔÊ×Ò³Ãæ½øÐÐÌø×ª¡£
´úÂëÈçÏÂ
Java code:
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletExc ......
ÎÒÏëʵÏÖµ¥»÷ ²éѯ ºó£¬ÔÚDataGridÖÐÏÔʾÊý¾Ý£¬
ÏÂÃæµÄ´úÂëÔËÐк󣬵¥»÷ ²éѯ û·´Ó¦£¬µ«ÊÇÈç¹û°ÑÕâÒ»¶Î´úÂëɾ³ýºó£¬µ¥»÷¡°²éѯ¡±ºó ÏÔʾÕý³£
¸ßÊÖÃÇ£¬ÇëÖ¸µã£¬¶àл£¡
=====================================
XM ......