jsp里面的out.println()将某网络图片显示出来?

[复制链接]
查看11 | 回复1 | 2011-3-13 10:53:39 | 显示全部楼层 |阅读模式
1、

imgsrc = e.getChild("pic_url").getText();//imgsrc获得图片的地址

out.println("

");

2、

out.println("

");
以上两段的格式对吗,我的jsp页面图片显示不出来
imgsrc 是变量
System.out.println(imgsrc);显示的确获取到图片的地址的,现在的问题是不知道哲理IMG的格式要怎么写

回复

使用道具 举报

千问 | 2011-3-13 10:53:39 | 显示全部楼层
1、 imgsrc = e.getChild("pic_url").getText();//imgsrc获得图片的地址
out.println("

");2、应该给显示。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行