| Author |
Calling an applet in jar over Http
|
Amit Rosner
Greenhorn
Joined: Dec 03, 2001
Posts: 22
|
|
Hi! How can I call to an applet that resides in a jar file (containing all of the necessary classes) from a servlet over Http? For some reason, I succeed only if I unzip the jar and call directly to the MyApplet.class file from the HTML.
|
 |
Ram Dhan Yadav K
Ranch Hand
Joined: Aug 13, 2001
Posts: 321
|
|
Use ARCHIVE="MyAppletJar.jar" in your applet tag.
|
Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
|
 |
Amit Rosner
Greenhorn
Joined: Dec 03, 2001
Posts: 22
|
|
I've tried that...:-))) I wouldn't have posted that message if that worked...
|
 |
Ram Dhan Yadav K
Ranch Hand
Joined: Aug 13, 2001
Posts: 321
|
|
|
I guess in the jar file's manifest file, you have to tell the main class. I am not sure about that. Look in java tutorials about creating a valid jar file for applets. all the best.
|
 |
 |
|
|
subject: Calling an applet in jar over Http
|
|
|