Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Java Micro Edition
CDC Security issue ...
posted 9 years ago
I'm using the Jericho HTML Parser API which is used to parse HTML pages.
After including the JAR file in my class-path, i have used the Source class (it's part of the API) which is used to connect to a given web-page and parse it, but i got the following message :
access denied (java.net.SocketPermission <a href="http://www.google.com" target="_blank" rel="nofollow">www.google.com</a> resolve)
And here's my source code:
Source source = new Source(new URL("http://www.google.com"));
Can anybody help me out ?
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Boost this thread!
Google Maps and JSON Geocoding Output
original purpose of "can not read remote XML correctly, due to encoding issue" thread
Random URL and Redirection
HTML form created by Java