Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Passing a file to an applet...

Reply
Thread Tools

Passing a file to an applet...

 
 
gbattine
Guest
Posts: n/a
 
      11-05-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing an array from FORTRAN to C then passing it within C andReturning it to FORTRAN deadpickle C Programming 1 11-07-2010 02:38 PM
Passing parameters to an executable vs. passing them to a server Ramon F Herrera C++ 8 09-13-2009 02:48 AM
passing copy of a pointer to a variable vs passing the copy pereges C Programming 7 06-01-2008 02:36 PM
Passing params to JS file implemented inside a php file vdfvdfv Javascript 4 11-18-2007 01:16 PM
Passing by const & and returning a temp vs passing by value and returningit Victor Bazarov C++ 25 03-23-2005 04:24 PM



Advertisments