========================= Flex page code ============================ <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" autoLayout="false" layout="absolute" width="100%" height="100%" xmlns:flexiframe="http://code.google.com/p/flex-iframe/"> <mx:Panel width="500" height="400"> <mx:ComboBox width="200" height="30"> <mx:dataProvider> <mx:Array> <mx:Object label="Russia" data="1"/> <mx:Object label="Canada" data="2"/> <mx:Object label="China" data="3"/> <mx:Object label="USA" data="4"/> <mx:Object label="Brazil" data="5"/> <mx:Object label="Australia" data="6"/> </mx:Array> </mx:dataProvider> </mx:ComboBox> <mx:Spacer height="60"/> <!-- "<flexiframe:IFrame>" Google Code flex-iframe(http://code.google.com/p/flex-iframe/) --> <flexiframe:IFrame id="googleIFrame" label="Google" width="100%" height="100%" source="http://localhost:8080/FlexModuleDemo/pages.jsp"/> </mx:Panel> </mx:Application> ===================================================================== ======================== JSP page code ============================== <%@ page language="java" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head></head> <body style="background:#008000;"> This is a JSP page is embedded.(I'm not good at English.) </body> </html> ======================================================================
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)