I am trying to use an applet that is located in a jar that is located somewhere else in my system (not in the same project location as the web stuff). I know of a property called codebase which is pointing to where the web for look for the jar that has the applet class. This is the code that I put in, but can't get it to work...
<script type="text/javascript">
if (_app == "Netscape")
{
document.write('<object classid="java:UareUApplet.class"',
'type="application/x-java-applet"',
'name="UareUApplet"',
'width="1"',
'height="0"',
'type="application/x-java-applet"',
'pluginspage="http://java.sun.com/javase/downloads"',
'archive="UareUApplet.jar, dpuareu.jar"',
'onFMDAcquiredScript="onFMDHandler"',
'onEnrollmentFailureScript="onEnrollmentFailureHandler"',
'onImageCapturedScript="onCaptureHandler"',
'codebase="C:\Users\modonnell\Desktop\UareUApplet\UareUApplet\UareUApplet\Register\"',
'onDisconnectedScript="onDisconnectedHandler"',
'onConnectedScript="onConnectedHandler"',
'onErrorScript="onErrorHandler"',
'onLoadScript="onLoadHandler"',
'bRegistrationMode="true"',
'bDebug="true"',
'bExclusivePriority="true"',
'scriptable="true"',
'mayscript="true"',
'separate_jvm="true"> </object>');
}
If I paste in the jar into the folder of my web project, and take away the "codebase" declaration, the applet will work. But I don't want to have to paste in the jar after each compile.