Help need in Signed Applets.....Urgent

Hi,

I am stuck with a problem. Please help me out.

The requirement is :

I have an applet which has to run an executable which produces a .txt. The applet should use this .txt to produce its output.

I made the applet into a signed jar and ran the executable to produce the .txt . But the .txt is outside the jar file and I am not able to use it to create the result.

How do I use the .txt now? Is the method that I am trying proper or should I use some other method?

Another doubt is, when I run the .html of the applet code (which is in the server), is it cached in the client?

[620 byte] By [BharathVasudevana] at [2007-10-3 11:13:21]
# 1

> I made the applet into a signed jar and ran the

> executable to produce the .txt . But the .txt is

> outside the jar file and I am not able to use it to

> create the result.

>

> How do I use the .txt now?

Hand the user a JFileChooser and let him tell you where the file is, or loook at the exe to see whether you can specify an output directory as a parameter.

> Is the method that I am

> trying proper or should I use some other method?

It's highly ugly, but I can't think of anything else.

> Another doubt is, when I run the .html of the applet

> code (which is in the server), is it cached in the

> client?

Yes. No need to download the same stuff each time. The details are browser-specific.

CeciNEstPasUnProgrammeura at 2007-7-15 13:37:03 > top of Java-index,Security,Signed Applets...
# 2
The file access should happen without the user intervention... Also is it possible for me to include the generated file into the jar file (signed jar that has the applet) when it is running?
BharathVasudevana at 2007-7-15 13:37:03 > top of Java-index,Security,Signed Applets...
# 3
You can return the result of the exec, to a string or stream. Instead of visiting the txt file, right?
mqzhanga at 2007-7-15 13:37:03 > top of Java-index,Security,Signed Applets...