Note that there are some explanatory texts on larger screens.

plurals
  1. POJava security access control exception
    primarykey
    data
    text
    <p>I am trying to execute this program, <a href="http://java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/WebCrawler.java" rel="nofollow">http://java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/WebCrawler.java</a> The program compiles without any error after i referred this page, <a href="http://www.velocityreviews.com/forums/t146972-web-crawler.html" rel="nofollow">http://www.velocityreviews.com/forums/t146972-web-crawler.html</a></p> <p>But while executing using the command "appletviewer WebCrawler.html" i get this exception..</p> <pre><code>Exception in thread "Thread-4" java.security.AccessControlException:access denied(java.net.SocketPermission java.sun.com:80 connect,resolve) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) at java.security.AccessController.checkPermission(AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.&lt;init&gt;(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049) at java.net.URL.openStream(URL.java:1010) at WebCrawler.robotSafe(WebCrawler.java:139) at WebCrawler.run(WebCrawler.java:235) at java.lang.Thread.run(Thread.java:619) </code></pre> <p>How do i make it work.?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload