Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Able to run applet from a applet viewer but not from a browser.

 
Arun Martin
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
my friend has formwarded me a pblm. I didn't know where to turn to,so I am putting in this forum. If possible,could u please give the appropriate code for this pblm.
Problem.
-------
I am able to run an applet from the appletviewer but in the browser it throws up the error access control : acess denied(java.net.socket <url> resolve) . When using the appletviewer i use my own policy file to overide the default java file to let the applet open an socket in the server. My question is "can you overide the security features of a browser to get the applet to run in the browser.?". in other words can yo modify the Security Manager.
with warm regards,
Arun J Martin.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you need to override the default implementation of SecurityManager.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic