Home » Developer & Programmer » JDeveloper, Java & XML » Call an applet stored in a oracle database
Call an applet stored in a oracle database [message #92521] Mon, 30 August 2004 07:24
Cesar Cardoso
Messages: 1
Registered: August 2004
Junior Member
Hi, i've made an applet and stored it in my oracle database (Oracle 9i) as a java source. I've compiled it with sucess and a give a grant to public on it. Now i'm trying to make a procedure calling the applet to show it in the browser with a code like this:

htp.appletOpen('javaucan/web/applet/Grafico.class', 400, 300);

...

htp.appletClose;

But when i call the procedure in the browser, the applet is not shown and the java console says:

"load: class javaucan/web/applet/Grafico.class not found.
java.lang.ClassNotFoundException: javaucan.web.applet.Grafico.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
"

What can i do?

Thank's
Previous Topic: problem in creating EJBJar file
Next Topic: JDev Jsp jdbc: ORA-00600 when select varchar2
Goto Forum:
  


Current Time: Tue Nov 26 02:06:52 CST 2024