Passing a file to an applet...

Discussion in 'Java' started by gbattine, Nov 5, 2006.

  1. gbattine

    gbattine Guest

    Hi guys,
    i've developed a jsf application and i've loaded in it an applet for
    visualizing some data.
    My example applet load a file with a specified path and name i've on my
    hd.
    What i want is passing from my jsf application to applet the file i
    want visualizing..
    This is my jsf page
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <html>
    <head>
    <title>
    HTML Test Page
    </title>
    </head>
    <body>
    <br>
    <center>
    <applet code="vdaoengine.TestApplet.class" width=500 height=500>
    <param name=bgcolor value="000000">
    <param name=fgcolor1 value="ff0000">
    <param name=fgcolor2 value="ff00ff">
    <param name="datfile" value =
    "file:///c:/workspace/MicroArray/WebContent/pages/data.dat">
    <param name="settings_file" value = "file:elmap.ini">
    <param name="microarray_type" value = "CGH_minimal_regions_gain_loss">
    <param name="archive" value = "VDAOEngine.jar">

    </applet>
    </center>
    </body>
    </html>


    with
    <param name="datfile" value =
    "file:///c:/workspace/MicroArray/WebContent/pages/data.dat">

    i pass the file data.dat.
    How can i pass a file stored in a bean?
    Please help me,thanks very much
    gbattine, Nov 5, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Love

    applet vs. canvas in applet

    Rob Love, Jul 7, 2003, in forum: Java
    Replies:
    1
    Views:
    616
    Liu, Chunyen
    Jul 7, 2003
  2. webster
    Replies:
    0
    Views:
    850
    webster
    Jul 20, 2003
  3. Andrew Thompson
    Replies:
    0
    Views:
    412
    Andrew Thompson
    Aug 5, 2003
  4. Krista
    Replies:
    3
    Views:
    2,313
    Andrew Thompson
    Sep 15, 2004
  5. danielitob

    passing a file to an applet..

    danielitob, Nov 28, 2006, in forum: Java
    Replies:
    0
    Views:
    342
    danielitob
    Nov 28, 2006
Loading...

Share This Page