Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling an applet in jar over Http  RSS feed

 
Amit Rosner
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use
ARCHIVE="MyAppletJar.jar"
in your applet tag.
 
Amit Rosner
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've tried that...:-)))
I wouldn't have posted that message if that worked...
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!