0 Replies Latest reply on May 31, 2007 3:14 PM by JoeFree999999

    Flex Builder 2 HTML wrapper will not launch MyApp.html with Tomcat

      When is opened in a browser,
      Tomcat launches the Flex 2.01 MyApp.swf application in a browser.

      However if or are used, the MyApp.html wrapper generated
      by Flex Builder 2 does not launch MyApp.swf. Instead a white screen is
      recieved. If a view source is performed, the MyApp.html wrapper
      generated by Flex Builder 2 source code is displayed.

      Please help!

      Have reviwed the Flex documentation and discussion in the newsgroups
      and it is not clear what the issue is.

      The 'C:\Program Files\Apache Software Foundation\Tomcat
      5.5\webapps\MyApp' directory contains the following files from Flex
      Builder 2:

      Directory of C:\Program Files\Apache Software Foundation\Tomcat

      05/30/2007 02:10 PM <DIR> .
      05/30/2007 02:10 PM <DIR> ..
      05/30/2007 10:08 AM 1,272 history.htm
      05/30/2007 10:08 AM 1,292 history.js
      05/30/2007 10:08 AM 2,656 history.swf
      05/30/2007 10:08 AM 657 playerProductInstall.swf
      05/30/2007 10:08 AM 4,364 MyApp.html
      05/30/2007 10:08 AM 1,675,586 MyApp.swf
      05/24/2007 06:26 AM <DIR> style
      05/24/2007 06:55 AM <DIR> WEB-INF

      The WEB-INF directory contains a web.xml file. It contains:

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      " http://java.sun.com/dtd/web-app_2_3.dtd">
      MyApp 2.0
      EMAIL address to whom questions about this application should
      be addressed.

      Thanks in advance.