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?
> 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.