<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
id="digApp" name="digApp" width="0px" height="0px"
codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_1-windows-i586.cab#version=1,4,1">
<param name="archive" value="digitalSignature/DigitalSignatureApplet.jar">
<param name="code" value="GUI.DigSigApplet">
<param name="mayscript" value="yes">
<param name="scriptable" value="true">
</object>
我使用上面的标记来标识JAR文件中的类。但是,Apache抱怨:文件不存在:C:/ Users / johndoe / Documents / Aptana Studio Workspace / MyApp / digitalSignature / DigitalSignatureApplet.jar / GUI / DigSigApplet.class tar文件存在,但显然连接的文件名是错误的。
有任何想法如何纠正这个问题?
答案 0 :(得分:1)
<object id="digitalSignatureApplet" name="digitalSignatureApplet"
width="0px" height="0px" tabIndex="-1"
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codeBase="https://java.sun.com/update/1.6.0/jinstall-6u16-windows-i586.cab#Version=1,4,2"
type="application/x-java-applet" >
<param name="codebase" value="/digitalSignature/" />
<param name="archive" value="/digitalSignature/DigitalSignatureApplet.jar" />
<param name="code" value="GUI.DigSigApplet" >
<param name="mayscript" value="yes">
<param name="scriptable" value="true">
</object>
这对我有用。