当前位置:编程学习 > JSP >>

java applet 签名和认证 ---大致过程和我的问题

在java中的 applet 的认证和签名 确实麻烦。。
java.sun.com  的tutorial 上有用apple 在本地写一个文件的例子:
http://java.sun.com/docs/books/tutorial/security1.2/tour1/
但只能用AppletViewer 可以看:
appletviewer http://java.sun.com/docs/books/tutorial/security1.2/tour1/example-1dot2/WriteFile.html
  又在[阿费]的帮助下找到可以用ie or Nescape 查看你的applet 的例子:
  http://www.intelligentsearch.org/namesearch_from_java.htm#_Toc490550108
大致过程如下::
服务器端:
1。
 Compile the java classes --写applet并编译。
    javac *.class
2.   Place the class files in a JAR file    --打包:
    jar cvf  yourjarname.jar  yourdir/*.class
    1). Create a Keystore and Keys for signing the JAR file
        keytool
补充:Jsp教程,Application与Applet 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,