一个ASP显示链接图片的问题

来源:百度知道 编辑:UC知道 时间:2024/05/18 04:19:39
dd.asp
--------------
<html>
<body>
<form name="form1" action="ee.asp" method=post>
请输入图片地址:<input type=text name="address" size=50>
<br>
<input type=submit value="提交">
</form>
</body>
</html>
---------------------------------------------------
ee.asp
------
<html>
<%
dim address
address=request.form("address")
%>
<body>
<img src=address>
</body>
</html>
-------------------------------------------------------
为什么图片无法显示啊?怎么解决呢?
你说的能用,但原理不是和我的一样么?为什么我的不能用呢?

<html>
<body>
<form name="form1" action="ee.asp" method=post>
请输入图片地址:<input type=text name="address" size=50>
<br>
<input type=submit value="提交">
</form>
</body>
</html>
---------------------------------------------------
ee.asp
------
<html>
<%
address=request.form("address")
%>
<body>
<img src="<%=address%>">
</body>
</html>

*******************************************
dim address 用不到
<img src=address> 改为 <img src="<%=address%>">