|
|
Hi,
I am adding an applet in a JSP page using an external javascript file. And I am constructing the Applet code based on the browser family ( for Mozilla family and for MS-Internet Explorer).
JavaScript:
var _app = navigator.appName;
if (_app == 'Mozilla' || _app == 'Netscape')
{
document.write('');
}
else if (_app == 'Microsoft Internet Explorer')
{
document.write('',
'',
'archive="Appln.jar"',
'');
}
else
{ document.write('
Sorry, unsupported browser.
'); }
I have JARed the applet program. I placed the jar file in the same place where my JSP page exists. I am getting an error msg in the browser's status bar --> applet ButtonMoveApplet notinited when I run this from the browser (http://localhost:8080/AppletApplication). When I checked in Java Console I found java.lang.ClassNotFoundException.
My office network is configured to use a proxy. Is the browser doesn’t allow to load the applet because of the proxy? Or is there any other problem?
Any help on this will be greatly appreciated
Regards,
Red Hunt