flexǶÈëjspÖÐÓöµ½µÄÄÑÌ⣿
ÒѾ×öºÃµÄÒ»¸öJ2EEÏîÄ¿£¬ÏëÓ¦ÓÃflexÖеÄͼ±í£¬ËùÒÔÏÖÔÚµÄÊ×ÒªÎÊÌâ¾ÍÊÇÈçºÎ°ÑflexǶÈëµ½jspÖУ¬°´ÕÕÍøÉϽéÉܵĽâ¾ö·½°¸×öÁ˸öС²âÊÔ£º
<%@ taglib uri="FlexTagLib" prefix="mm"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>jspÖÐǶÈëflex</title>
</head>
<body>
<h2>jspÖÐǶÈëflex´úÂë</h2>
<mm:mxml>
<mx:Application width="300" height="200" xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Text text="²âÊÔ"/>
</mx:Application>
</mm:mxml>
</body>
</html>
ÔÚweb.xmlÖÐÌí¼ÓÁË£º
<jsp-config>
<taglib>
<taglib-uri>FlexTagLib</taglib-uri>
<taglib-location>/WEB-INF/lib/flex-bootstrap-jsp.jar</taglib-location>
</taglib>
</jsp-config>
ÐèÒªµÄjar°üÒ²µ¼½øÀ´ÁË£¬ÔËÐÐÒ»ÏÂÈ´Å׳öÁË¿ÕÖ¸ÕëÒì³££¡
£¨flex-bootstrap-jsp.jar¡¢flex-webtier-jsp.jar¡¢flex-webtier.jar¡¢flex-bootstrap.jar£©
java.lang.NullPointerException
at flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
at flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
at flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
²»ÖªµÀÄĶù³öÁËÎÊÌ⣬ºÜÊÇÓôÃÆ£¬Ï£ÍûÓд˾ÑéµÄÅóÓÑÃÇÄܹ»Ö¸µã
Ïà¹ØÎĵµ£º
4. Àí½âʼþ½×¶Î(Event Phases) ÎÒÃÇ°Ñʼþ´¥·¢Ô´·ÖΪÁ½ÀࣺһÀàÊÇÄÇЩÏÔʾÔÚ½çÃæÖеÄÔªËØÅ׳öµÄʼþ£¬Ò»ÀàÊÇÄÇЩ²»ÔÚ½çÃæÖÐÏÔʾµÄÔªËØÅ׳öµÄʼþ¡£ºÜ¼òµ¥£¬¾Ù¸öÀý×Ó£ºµÚÒ»ÀàÈçURLLoader¶ÔÏóÈ¥loadͼƬ»òÆäËû×ÊÔ´ËùÅ׳öµÄÈçcompleteʼþ£¬¾ÍÊôÓÚµÚÒ»Àà¡£½çÃæÉϵÄÒ»¸ö°´Å¥ËùÅ׳öµÄclickʼþ¾ÍÊǵڶþÀ࣬Ëü»á´¥·¢Ò»¸öʼþÁ÷£¬ ......
×î½üÓöµ½¸öÎÊÌ⣬¿ª·¢webÏîÄ¿µÄʱºò£¬¿ÉÄÜflexÖ»ÓÃÀ´ÊµÏÖÏîÄ¿µÄ²¿·ÖÄ£¿é¡£µ±flexÐèÒªÔÚ¿Í»§¶ËдÈë/¶ÁȡһЩ״̬ÐÅÏ¢µÄʱºò£¬ÎÒÃÇ»áÏëµ½ÓÃcookie¡£flexÊDz»Ö§³ÖcookieµÄ£¬Ö»ÓÐSharedObjectÕâ¸ö±¾µØ¶ÔÏó¡£ËùÒÔ½â¾öµÄ°ì·¨¾ÍÓÐÁ½¸ö£º
flexͨ¹ýµ÷ÓÃjsÀ´ÊµÏÖ¶ÔcookieµÄ²Ù×÷£»
jsͨ¹ýflexʵÏÖ¶ÔSharedObjectµÄ²Ù×÷£»
ÕâÁ½ÖÖ·½·¨ ......
¹ØÓÚflexÈçºÎÏòij¸öÒ³Ãæ´«µÝ²ÎÊý£¬ÎÒÒÔÇ°ÓÐÕâ·½ÃæµÄ±Ê¼Ç£¬flexͨ
¹ý·ÇAmfPHP;¾¶Óëºǫ́½»»¥
ÖÐURLLoader+URLRequest+URLVariables·½·¨Ò²¿ÉÒÔÓÃÓÚÏòflexÒ³Ãæ´«²ÎÊý¡£ºó
̨php¶Ë½ÓÊÕ²ÎÊýºÜ¼òµ¥£¬ÏÖÔÚÌÖÂÛÒ»ÏÂflex¶ËÈçºÎ´¦ÀíÒ³Ãæurl´«µÝ¹ýÀ´µÄ²ÎÊý¡£
ÍøÉÏÕâ·½ÃæÎÄÕ²»ÉÙ£¬²»¹ý¶¼¶àÉÙÓÐЩÎÊÌ⣬ÎÒ×ܽáһϣ¬Ð´ÔÚÕâÀï¡£
·½· ......
Ò»¡¢¹úÍâÕ¾µã
1.×ÊÔ´ Àà
Adobe Flex 2 Component Explorer £º ¹Ù·½µÄ£¬Õ¹Ê¾Á˸÷ÖÖ×é¼þ µÄÓ÷¨ £¬ÈëÃÅ ±Ø¿´¡£
CFlex £ººÜºÃµÄÒ»¸öFlex×ÊÔ´Õ¾µã£¬°üÀ¨½Ì³Ì £¬ÐÂÎÅ£¬×ÊÔ´Õ¾µã¡¡ Ö»ÊÇÒ³ÃæÓеãÔÓÂÒ£¬´ó¼ÒÒ»°ã¿´ÓÒ±ßÄÇÒ»À¸¾ÍÐÐÁË¡£
FlexBox £ºÒ»¸öÊÕ¼¯ ÁËÍøÉϺܶ࿪Դ ×é¼þµÄÕ¾µã£¬Êǽø½×ѧϰ µÄºÃ°ïÊÖ¡£ ......
Ò»¡¢ÏÂÔØ eclpse 3.4
µØÖ·£ºhttp://archive.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-win32.zip
Íê³Éºó£¬È¥ eclipse Àï¸üÐÂÈí¼þ£¬²Ëµ¥£º Help --- Software Updates µã Ganymede Update Site £¬Ñ¡ÖÐ Java Development £¬´Ë¶¯×÷Ϊ°²×° eclipse 3.4 ÀïµÄ Web ¿ª·¢²å¼þ£»
¶þ¡¢Ï ......