• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Jaxb in applet

 
Kuladip Yadav
Ranch Hand
Posts: 162
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am using JAXB in applet for Marshalling and Unmarshalling .
but it throws security related exception as fallows :


I want to set security permission to may applet.

So how can I set that ? I want to used in that applet in web application. When i try the applet in eclipse it works fine ,but
when i access through web aplication it give above exception.


Thanking You,

- Kuldeep Yadav


 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAXB is trying to access system properties that an applet does not have access to for security reasons. Read up on "applet sandbox" for details why this is so. The two principal ways round -signing the applet and altering the local security policy- are outlined in HowCanAnAppletReadFilesOnTheLocalFileSystem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic