rsunith
asked on
Java/JavaScript Communication
Lets assume you have a web page with some graphics on it. These graphics
are named one.jpg, two.jpg and three.jpg. These are configured as IMAGE
BUTTONS and have a VALUE of one.txt, two.txt and three.txt respectively.
We also have 2 directories on the hard disk of the NT server where this web
page resides. These directories are called c:\jb\store and c:\jb\play
There are three files in the store directory called one.txt, two.txt and
three.txt and more.
What I need is a Java routine that ...
When a user clicks on the Image Button the routine should COPY the file
whose name is in the VALUE field of the image button from the store directory to the play directory.
That is all. Just read the VALUE field and copy.
Thanks.... Its really important.
are named one.jpg, two.jpg and three.jpg. These are configured as IMAGE
BUTTONS and have a VALUE of one.txt, two.txt and three.txt respectively.
We also have 2 directories on the hard disk of the NT server where this web
page resides. These directories are called c:\jb\store and c:\jb\play
There are three files in the store directory called one.txt, two.txt and
three.txt and more.
What I need is a Java routine that ...
When a user clicks on the Image Button the routine should COPY the file
whose name is in the VALUE field of the image button from the store directory to the play directory.
That is all. Just read the VALUE field and copy.
Thanks.... Its really important.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i used swingall.jar , but i'm getting a classformaterror! where did i go wrong?
Please explain in a greather detail what you are trying to do and post the entire stack trace. I use Swing1.1.1 too in my applet, with loading of swingall.jar and all works perfect.
ASKER
thanx in advance