How can I use JAXB from an unsigned applet (without signing it)?

后端 未结 3 1056
生来不讨喜
生来不讨喜 2021-01-22 12:50

I would like to marshall Java objects into XML and vice-versa from within an Unsigned Applet and I can\'t change any of the security permission/policy files, or sign the applica

3条回答
  •  梦谈多话
    2021-01-22 12:57

    I never did quite figure this one out. What I did instead was to grab a fairly simple JSON library called Flexjson. It also threw a similar security exception but the library was simple enough that I was able to switch-off the library code that causes the exception in an Applet with a boolean flag.

提交回复
热议问题