Link to home
Start Free TrialLog in
Avatar of rsunith
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.


Avatar of rsunith
rsunith

ASKER

i'm using swing applets, will liveconnect work with 1.2 applets. if yes, can u send me a sample code? i've done it using 1.1 applets - but then here the security issue comes into the picture. but with 1.2 applets i can atleast change the policy file and grant permissions. any help is appreciated.
thanx in advance
ASKER CERTIFIED SOLUTION
Avatar of Ovi
Ovi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rsunith

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.