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
Is this a problem with classpath or OS or my code. Thank you.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
A few things to investigate: What does the applet tag look like? Is the HTML page in the same directory as the class file? Can the class file be downloaded manually?
The applet tag is <APPLET height=360 width=500 name="ImgDemo" code="ImgDemo.class" archive="Img1.jar" codebase="/Inetpub/wwwroot/Pcc"> ImgDemo.class file is in Img1.jar which is in /Inetpub/wwwroot/Pcc. I even get a dialog box for entering Password Saying Password Needed Network Firewall 127.0.0.1 my applet is not signed ? I am having a multipart form upload provision within the same html page ?Is it the cause?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
codebase="/Inetpub/wwwroot/Pcc"
This looks odd. Try placing the jar file in the same directory as the HTML file, and leave out the codebase attribute.
Venkata Kiran
Ranch Hand
Joined: Sep 06, 2005
Posts: 30
posted
0
Yes tried that also with no result. I am still getting the same error. (I am using .NET environment so my code base is Inetpub/wwwroot.)
Cai DongShan
Ranch Hand
Joined: Dec 07, 2004
Posts: 102
posted
0
Do you use any tool to develop your application? If so, please check if there is any library needed.
Best Regards,<br />DongShan<br /> <br />SCJP1.4, SCWCD1.4