一段代码,没有执行IF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%
Dim go
go=request(go)
If go=doing then
Dim guess
guess=Trim(request(text1))
If Len(guess)>0 then%>
<script language="vbscript">
MsgBox ("你的输入为:"&guess)
</script>
<%Else%>
<script language="vbscript">
MsgBox("你的输入不能为空")
</script>
<%End If
else
%>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<FORM METHOD=POST ACTION="1.asp?go="doing"">
<INPUT TYPE="text" NAME="text1">
<INPUT TYPE="submit" NAME="submit1" value="提交">
</FORM>
</BODY>
</HTML>
<%End if%>
本文件名:1.asp
文件运行后直接提示“你输入的数据不能为空”
而没有判断“if go=doing ”