Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet problem

 
Vikas Dharmapurikar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I wrote one chat applet which was running well on local web server(intranet), but when i upload this applet, it was not running saying MyChat.class not found, so i made modification code where i put all those classes in packges and then i compiled it now when i am trying to run it on local web server it is not running there to. This is basically problem of codebase can some tell me that what exactly should be value for codebase and do i need to create jar file of the classes which will be used by applet.
and this message i am getting on my ie(ver 6.0)

load: class ChatApplication.class not found.
java.lang.ClassNotFoundException: ChatApplication.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more


[ September 12, 2003: Message edited by: Vikas Dharmapurikar ]
 
Jones Susan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yup, u need to create a jar file(put all ur classes inside)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic