Hi all,
I’m a total newbie in Java dev and have a strange problem. Here is my code:
try {
URL url = new URL(“http://www.google.com”);
BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
String str;
while ((str = in.readLine()) != null) {
System.out.println(str);
}
in.close();
}
catch (Exception e)
{
e.printStackTrace();
}
The response is a timed out error message. I have configured MyEclipse with the correct proxy parameters, but when I debug, I can see the attempt of direct connexion to amazon (or anything in the other side of our proxy).
Somebody as an idea ? Did I make something wrong ? Or did I haven’t understand something ?
Thanks a lot.