Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

applet class can not be loaded?  RSS feed

 
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I store the myjar.jar file in the same folder of index.html file which embeds one of applet class in the jar file. when I start the server, and load it from browser(http://127.0.0.1:8080/index.html), it gives me above error. What is wrong?
<applet code="myclass.class" width="400" height="300" archive="myjar.jar"> </applet>
in the jar file:
C:\jar -tf myjar.jar
META-INF/MANIFEST.MF
META-INF/MYKEY.SF
META-INF/MYKEY.DSA
META-INF/
myclass.class
AdmLogin.class
Login.class
MainInterface.class
MessageBox.class

Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!