为什么我的图片不能显示
package com.wuli.tongixn;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
public class TestUrl2 {
public static void main(String[] args) {
URL url;
try {
url = new URL("http://www.baidu.com");
//通过URL对象de openStream() 获取URL对象所表示的资源的字节输入流
InputStream is=url.openStream();
InputStreamReader isr=new InputStreamReader(is);
BufferedReader br=new BufferedReader(isr);
String data=br.readLine();
while(data!=null){
System.out.println(data);
data=br.readLine();
}
br.close();
isr.close();
is.close();
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
}