Applet not working (Urgent)

java , applet , jar Sri Lanka
  • 8 years ago
    Hi All !! I have a jar file which contains two applet classes. The second applet class I added recently to this same jar file. I ran the keytool and already signed the jar file. My problem is even I signed the applet I still cannot browse the client side files (These 2 applets using to uplaod files). When I press browse button it will generate the following exception. **Exception in thread "AWT-EventQueue-4" access denied (java.util.PropertyPermission user.dir read)** (and there are lot of other stuffs in this error) But these same two applets working just fine if I add the java policy file to my home directory. Can someone tell me what I have done wrong here ??

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration.” - E. W. Dijkstra