我在等待并读到一个超文本页上。 当我把袖珍连接从 app类中删除,并在超文本页上测试 app,但当我把袖珍连接重新贴在平级档案中时, app的 t和 Java的ole光似乎没有任何痕迹。 我确信,这是安全原因,因为Im使用袖珍连接,因此,我确实创建了一个经签名的杰尔档案,并将它放在 app子上:
<APPLET codebase="classes" archive="captureaudio/AppletTest.jar" code="captureaudio/AppletTest.class" width=350 height=200></APPLET>
但是,创建这一签名并没有奏效。
有些人能够帮助我这样做?
UPDATED
针对Andrew Thompson
- No im not prompted to accept digital signed code
- No the applet im currently testing is locally
- Yes the applet is trying to connect back to the server, ther server is running locally
- Im not sure the java console isnt showing me any exceptions.
HOW I CREATED THE SIGNED JAR FILE
我的宝石名称空间是 capture。 果树类
At cmd prompt, where teh class file is located:
你们需要使用钥匙。 在这里,我想到的是,如何为复印件(www.xinotes.org/notes/note/434/)制作一个焦仓签名。
jar -cfulut 试验.jar Apple
- >jarsigner AppletTest.jar MyCert Warning: This jar contains entries whose signer certificate will expire within six months
4.>jarsigner -verification -verbose -certs Applet
s k 153 Thu 10 11:28:38 BST 2011 META-INF/MANIFEST.MF
X.509, CN=xxxxx, OU=None, O=None, L=xxxxx, ST=xxxxx, C=GB (myce
rt) [certificate will expire on 10/01/12 20:55]
315 Thu Oct 13 11:28:40 BST 2011 META-INF/MYCERT.SF
1352 Thu Oct 13 11:28:40 BST 2011 META-INF/MYCERT.RSA
0 Thu Oct 13 11:28:10 BST 2011 META-INF/
smk 11015 Thu Oct 13 10:49:08 BST 2011 Applet
X.509, CN=xxxxxx, OU=None, O=None, L=xxxxxxxx, ST=xxxxx, C=GB (myce
rt) [certificate will expire on 10/01/12 20:55]
s = signature was verified m = entry is listed in manifest k = at least one certificate was found in keystore i = at least one certificate was found in identity scope
经核实。
JAVA CONSOLE
Java Plug-in 10.0.0.147 Using JRE version 1.7.0-b147 Java HotSpot(TM) Client VM
User home directory = C:Usersxxxxxxx
c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache
0-5: set trace level to
从boot室发现:C:PROGRA~1Javajre7libdeploy.jar
UPDATE
激光测距
web root>
------AppletTest.jar
------classes>
-----------captureaudio>
---------------------AppletTest.class