Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet notinited ( JSP + applet )

 
anil kumar N
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to run an applet using JSP using a tag JSP lugin IN WSAD,
(If i run the applet individually in WSAD i m able to see the output, but when i run the JSP ,i m getting the error as notinited and the java console is as follows :

Java(TM) Plug-in: Version 1.4.2_08
Using JRE version 1.4.2_08 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\anichen

Proxy Configuration: Manual Configuration
Proxy: http=172.29.32.205:8080,https=172.29.32.205:8080,ftp=172.29.32.205:8080,gopher=172.29.32.205:8080
Proxy Overrides: 172.29.32.205:8080,172.20.10.24,<local>






load: class COM.dcx.Simple.java not found.

java.lang.ClassNotFoundException: COM.dcx.Simple.java

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

I am giving the class path correctly,should i add external jars for it!
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am giving the class path correctly

This sounds fishy. Applets don't use the classpath. Any jars they use have to be listed in the "archive" attribute of the applet tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic