我有经典Asp网站的问题,我的图像没有显示, [英] I have a problem with Classic Asp website that my images are not getting displayed,
问题描述
出于测试目的,我创建了一个名为Try.asp的经典Asp页面
For testing purpose I have created only one classic Asp page by the name Try.asp
<pre lang="xml">
my code starts from here
<html>
<head>
</head>
<body>
<Img alt="Submit1" src="images/Submit.jpg"/>
<Img alt="Submit2" src="../images/Submit.jpg"/>
<Img alt="Submit3" src="~/images/Submit.jpg"/>
<Img alt="Submit4" src="../../images/Submit.jpg"/>
</body>
</html>
我尝试了每条相对路径,但无法显示图片。我确认路径(Try / images / Submit.jpg)图像可用。
我无法在此路径中看到图像http://localhost/Try/images/Submit.jpg
请帮助我......我失踪的地方......?
http://www.youtube.com/watch?v=eU-VVggY_Vs [ ^ ]
http:// www.youtube.com/watch?v=OCJanjJ4PGA [ ^ ]
我在youtube上看过上面的视频来配置IIS我做了同样的事但没有取得任何成功
I tried every relative path but unable to display the image. I confirm that the in the path(Try/images/Submit.jpg) image is available.
I am not able to see the image in this path also http://localhost/Try/images/Submit.jpg
Please help me ... where I am missing...?
http://www.youtube.com/watch?v=eU-VVggY_Vs[^]
http://www.youtube.com/watch?v=OCJanjJ4PGA[^]
I have seen the above video on youtube to configure IIS and I did the same thing but did not get any success
推荐答案
我找到了解决方案。
我重新安装了IIS,现在我已经看到了,区别在于我的网站中Aspclient的IIS自动添加了一个文件夹。
即[aspnet_client]
这解决了我的问题..
I found the solution.
I re-installed the IIS, Now what I have seen, the difference is one more folder automatically added by the IIS for Aspclient in my website.
i.e. [aspnet_client]
That solved my problem..
这篇关于我有经典Asp网站的问题,我的图像没有显示,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!