asp问题: 只能输出一次

来源:百度知道 编辑:UC知道 时间:2024/05/16 00:37:04
代码如下:<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<%
response.Write("你刚才输入的信息是:"&request.Form("info"))
%>
<form name="form1" method="post"action="">
你输入的信息:
<input type ="text" name ="info" />
<input name="submit" type="submit" value="提交" />
</form>
<body>
</body>
</html>

这是我本机做的测试,用游览器能正确的显示出一次我输出的东西,第二我在输入的东西 就一直是正在打开网页。 不管做什么只要是调用到ASP里的东西 能正确打开一次第二次就不用了。这是为什么
我是用DW编制的

这个程序上没有问题!

应该是你的机器问题!

<form name="form1" method="post" action="">
这句是不是少了个空格呢

程序没有问题,第一次启动IIS的时候是比较慢,之后再运行就没有问题

把<form name="form1" method="post"action="">
你输入的信息:
<input type ="text" name ="info" />
<input name="submit" type="submit" value="提交" />
</form>放到<body> 与</body>之间