modify java.policy file(under jre folder typically C:\Program Files\JavaSoft\JRE\1.4\lib\security)
grant codeBase "http://127.0.0.1/test/myjarfile.jar" {
  permission java.security.AllPermission;
};modify the codBase string according to your applet html.

解决方案 »

  1.   

    老大,如果要改policy的话,我早就完工了。
    这样多多少少,每个客户机上都要作一些操作,实在太不方便了!
      

  2.   

    billion_delly(), the Base64 integration is currently hosed.  We've an issue open on it:http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9931
      

  3.   

    hello, gavin, I had a look at the web page, but it seems to talk about the bad behaviour regarding whitespace embedded in 
     org.apache.xmlrpc.Base64.java,not the security classload matter about sun.misc.base64....Any suggesstion ?but now, I'm considering using other base64 code/decode classes. how about the org.apache.xmlrpc.Base64.java?
      

  4.   


    不用sun.misc了。
    在网上其它什么地方也看到说applet的安全限制禁止载入sun.misc 包,搞不懂为什么,rt.jar里面的包也禁止。罢了罢了,改用另外一个base64编码解码程序来做了,已经成功躲避了这个问题,结帐!