Use JWNL with applet

Help
wolf2006
2005-09-17
2013-04-29
  • wolf2006
    wolf2006
    2005-09-17

    Hi everyone
    I implemented a applet uses JWNL to access WordNet , but whenever I access the page embeds the applet, I always get the AccessControlException , is there no way use this package with applet ?
    Thank you in advace

     
    • Jim Irwin
      Jim Irwin
      2005-09-17

      The JWNL library needs to read the dictionary files from the file system. Applets are forbidden access to the file system unless they are signed and the user has responded affirmatively when asked if they trust the application.

      See http://www.developer.com/java/data/article.php/3303561 for a walkthrough of applet signing.

       
    • wolf2006
      wolf2006
      2005-09-18

      Thank you for your reply, but I still got some questions , yeah, as you said , Applet is not allowed to access local disk , but it can access the server where it comes from without digital signature required, so , I think there must be a way to use JWNL  with applet without signature.