problem in loading applet from non-executable jar file

hello ,

I am new to jar concept plz help.. I am trying to call an applet from another applet through frame it is working fine but its download time is much more. now i want to store all my images , sound files and class files of other applets in a jar file and want to access these inner applets from this jar file so that it will make only one http connection with the server for this jar file only and can reduce the download time of applet.

Can anyone can give me suggestion plz..

Thanx

[514 byte] By [1softsolutionsa] at [2007-11-27 6:50:37]
# 1

correct me if i'm wrong..

what u're trying to do, is to allow the jar file, which contains all the images and sound files, to be store on the client side, so that next time when your applet start, it will look for the local jar file first, if it exists, the program will not download the jar file again from the server...

what u can do is, when the applet starts, u check whether yr client has the jar file, if no, u allow them to download the additional jar files into their computer (inside the temporary folder?); if yr client has the jar file, u can then reference the local jar files into the applet...

hope this help..

JWKC-5ivea at 2007-7-12 18:24:43 > top of Java-index,Desktop,Deploying...
# 2

Thanx but i think i have to elaborate the problem :

my project structure is just like this ::

on the top is ::

Applet A> from this applet i am callling Applet B & Applet C in frame

and communication is established between these 3 applets successfully .

now i have made a single non executable jar file which contains images , sound and class files of these applets .

so i am referencing images and sound files in applets through this jar.

but i wanted to load Applet B & C through this jar file only.

How can i do this ?

Thanx .. I hope now the problem is clear

1softsolutionsa at 2007-7-12 18:24:43 > top of Java-index,Desktop,Deploying...
# 3
so, u want to load Applet A, B and C without loading the images, sound files?simply remove them from your jar file.
JWKC-5ivea at 2007-7-12 18:24:43 > top of Java-index,Desktop,Deploying...