• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Jaxb in applet

 
Ranch Hand
Posts: 162
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic