Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help : applet throwing security exception.........  RSS feed

 
Rasmeet Devji
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
I have developed a chat application wherein an applet tries to access a servlet (through a method of a different class) using URL and URLConnection.
It works really fine on Internet Explorer 5.0 (and earlier ver) but not on Netscape 4.75 (and earlier versions).
This is the exception it throws :
General Exception: security.class from local disk trying to access url: http://rasmeet:8080/servlet/ChatServlet
Anyone to help me ?
Thanks !
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey! Set the applet security previlidges... as universal links
Regds
Gautham Kasinath
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this....
PrivilegeManager.enablePrivilege("UniversalLinkAccess" );
 
Rasmeet Devji
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should i be doing this in the policy file ?
Thanks!
 
maateen
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
Rasmeet Devji
its nice to listen that ur applet is running fine in IE
....
i m also developing the same chat software using URL
but my software doesn't need security policy....
i would be giving u proper solution if either send ur code or make fquestion clear to ...
thanX
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!