Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding CDC ...

 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have started CDC programming, and I'm using the jericho HTML parser, in my application, I'm using the following code snippet :
[CODE
Source source=new Source(new URL("http://www.google.co.uk"));
[/CODE
And it's giving me the following exception :
access denied (java.net.SocketPermission www.google.co.uk resolve)

Is there a way to give connection permissions in CDC ?

I want to hear from you ...

Thanks in advance ...
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!