Take a look at the following code:
url=new URL ("http://www.ora.com/images/logo.jpg");
InputStream in = null;
BufferedReader bf = null;
bf=new BufferedReader(new java.io.InputStreamReader(in));
System.out.println("Something is wrong");
I have put a breakpoint at the first line (url=new...). I have noticed that at execution time an exception occurs "Something is wrong"-->message.
What is wrong with it?
I have also tried the
url=new URL (getDocumentBase(),MyFileName);
but still no effects