We have an application being developed in Seam and we are trying to render an applet. The
.xhtml file that renders the is in the .war that uses the applet class bundles in the .jar
and the application is bundled in the .ear file.
The applet code looks like
<!-- applet code="com.TwainApplet" archive="applet.jar"
codebase="."
width="600" height="400">
Oops, Your browser does not support Java applet!
</applet -->
I am getting this error
load: class com.TwainApplet not found.
java.lang.ClassNotFoundException: com.TwainApplet
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection
failed:http://localhost:8080/XXX/com/TwainApplet.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
I SHALL REALLY REALLY APPRECIATE YOR HELP!!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240170#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...