DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4

Thread: Applet problem

  1. #1
    Join Date
    Dec 2005
    Posts
    7

    Applet problem

    I just created a java applet in eclipse to be used to read and update some text files. This applet will open certain text files for a jeopardy type game which holds the questions and allows you to change them. When I run the program in Eclipse it works perfect; however, when I try to view the applet in html it will not load. This is the error I get:

    java.security.AccessControlException: access denied (java.io.FilePermission questions\DailyDouble\DailyDouble.txt read)


    Now just from searchin around google it seems that it has something to do with signing the jar file containing the applet. I am not sure exactly how to do this and the few tutorials I have found did not make much sense to me.

    I am not really too sure how to even create the jar file with an applet in eclipse as well. I have never really done any work with applets before this.

    Does anyone know how I could fix this?

  2. #2
    Join Date
    Oct 2005
    Posts
    107

  3. #3
    Join Date
    Dec 2005
    Posts
    7
    thanks for the link; however, I am runnin into a few things that confuse me while I am trying to do it. Is there anyone who knows how to do this and has AIM or msn messenger so I could talk to you while I am going through that tutorial and be able to better ask some of the specific questions that I am having? Thanks

  4. #4
    Join Date
    Dec 2005
    Posts
    7
    never mind..I got it working. Not sure if I totally understand exactly what I did but it works. So I guess I will just keep doing it and hopefully itll start to make some sense. Thanks for the help!

Similar Threads

  1. JavaMail applet problem
    By Tataroz T. in forum Java
    Replies: 1
    Last Post: 10-20-2005, 06:19 AM
  2. help needed on java program problem, please
    By Paul McCaffery in forum Java
    Replies: 0
    Last Post: 11-21-2002, 05:24 PM
  3. Replies: 3
    Last Post: 08-23-2001, 11:01 AM
  4. Problem with Applet and Buttons - Please help!
    By John Syrakis in forum Java
    Replies: 0
    Last Post: 11-09-2000, 04:11 PM
  5. Applet and thread problems
    By Aneesha in forum Java
    Replies: 0
    Last Post: 05-06-2000, 10:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links