0 Replies Latest reply: Jul 2, 2011 11:41 AM by 863138 RSS

    javafx application integration in a web page

    863138
      Hello, I did javafx application with a database, and now I want to publish on the net.
      I have uploaded the files:
      - project.html
      - project.jar
      - project. jnlp
      - project.jar.pack.gz
      - index.html:
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title>>TravelsGo</title>
      </head>
      <body>
      <h1>TravelsGo</h1>
      <script src="http://dl.javafx.com/1.3/dtfx.js"></script>
      <script> 
          javafx(
              {
                    archive: "project.jar",
                    draggable: true,
                    width: 640,
                    height: 480,
                    code: "project.Main",
                    name: "project"
              }
          );
      </script>
      </body>
      </html>
      I did not understand what do I do with the database, it works locally, but trying to view the application on a web page gives me error
      you can watch here: http://travelsgo.altervista.org/
      I hope someone can help me.
      Thank you.