Java applet manifest - Allow all Caller-Allowable-Codebase

后端 未结 16 2509
暗喜
暗喜 2020-11-28 02:10

As of Java 7u45 an applet will display a warning message (even if signed with a trusted cert) if a webpage tries to interact with it via javascript and that page isn\'t list

16条回答
  •  野性不改
    2020-11-28 03:07

    I had the same issue. Solution for me was using same parameters in manifest as Oracle used on donwload page in applet for verify java version http://www.java.com/en/download/installed.jsp Their applet does not popup any warnings.

    so solution is:


    Manifest-Version: 1.0
    Codebase: *
    Permissions: all-permissions
    Application-Library-Allowable-Codebase: *
    Caller-Allowable-Codebase: *
    Application-Name: APPNAME

    it works on:
    1.7.0_17-b02
    1.7.0_25-b17
    1.7.0_45-b18

提交回复
热议问题