Hi Guys,
I have a applet that runs with no issue in asp.net web application ... but when comes to ASP.MVC application ..here applet is not working throwing class not founnd exception please let me know if anyone could able to run applet in MVC application .. below is the code from view
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F4345D93"
codebase="http://java.sun.com/update/1.6.0/jinstall-6u11-windows-i586.cab#Version=6,0,0,11" id="DeviceControl">
<param name="java_arguments" value="-Xmx256m" />
<param name="CODE" value="/com/XYZ/application/main/SomeApplet.class" />
<param name="archive" value="all jar path" />
<param name="type" value="application/x-java-applet;version=1.6" />
<param name="scriptable" value="true" />
<param name="mayscript" value="true" />
</object>
exception that i am gettting is
load: class com.AppName.scanner.main.ScannerApplet.class not found. java.lang.ClassNotFoundException: com.XYZ.application.main.SomeApplet.class 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:3213/Appname/com/XYZ/application/main/SomeApplet/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) ... 7 more