刚开始学按书上的例子:form.htm:<html>
<head>
<title>表单提交数据示例</title>
</head>
<body>
<h2>表单提交数据的示例</h2>
<p>请提供下列信息,然后提交:
<form method="post" action="getform.asp">
<p>
名字:<input name="name" size="26">
<p>
性别:<input name="sex" size="26">
<p>
年龄:<input name="age" size="26">
<p><input type=submit value="提交">
<input type=reset value="重置">
</form>
</body>
</html>getform.asp:<html>
<head>
<title>表单响应页面</title>
</head>
<body>
<%
dim strname
dim strsex
dim strage
dim strcount
strname=request.form("name")
strsex=request.form("sex")
strage=request.form("age")
strcount=request.form.count
%>
<p>
您的姓名: <%=strname%>
<p>
您的性别:<%=strsex%>
<p>
您的年龄:<%=strage%>
<p>
您需要回答的项目共<%=strcount%></body>
</html>windows 2000
执行form.htm 输入信息提交后 出现对话框 点击“打开”
但是没有结果(getform.asp)输出。
单单getform.asp可以执行。