<div style="position:relative;z-index:1" id="attachmentDiv">
<iframe id="attachmentFile" width="100%" height="900" ></iframe>
</div>
在jsp写了个简单的显示图片的功能,初始化的时候
document.getElementById("attachmentFile").src =URL;
这个URL我用了两个格式差不多的地址,但是一个能显示图片;一个不显示,浏览器提示我下载已下载文件,新人不太懂,请问这是出了什么问题吗?