• 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

how to make simple applet run without permission

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have created an applet and it doesnot access any client files or resources.So in my understanding i donot need to sign it.I am going to host that applet along with my website.My problem is that whenever browser runs that applet at start up it ask for permission.I want the applet to run without such permission.Its a simple applet.How can i achieve it.I have seen other applets that runs automatically in my browser.I want to achieve same like that.Please any suggestion.
 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hare Shiva wrote:I have created an applet and it doesnot access any client files or resources.So in my understanding i donot need to sign it.I am going to host that applet along with my website.My problem is that whenever browser runs that applet at start up it ask for permission.I want the applet to run without such permission.Its a simple applet.How can i achieve it.I have seen other applets that runs automatically in my browser.I want to achieve same like that.Please any suggestion.



Show us your html code hosting the applet and your applet code and someone might be able to comment.

I had all sorts of problems with this when I started. To do mostly with the path to the applet.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How is the applet trying to access those files? Since the files aren't on the local file system, you can't use the File or FileInputStream classes (and that would anyway trigger the permissions issue).
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hare Shiva wrote:My problem is that whenever browser runs that applet at start up it ask for permission.


Which browser(s) did you test in?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And what does "asks for permission" mean? Do you see a dialog box? What does it say? What buttons does it have, and what happens when you click those buttons?
 
reply
    Bookmark Topic Watch Topic
  • New Topic