错误类型:
Microsoft JScript 编译错误 (0x800A03EC)
缺少 '; '
/asp/Output.asp, line 13, column 15
Response.Write "姓名不能为空! ";
--------------^
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; FDM; .NET CLR 2.0.50727)
网页:
POST 83 ??? /asp/Output.asp
POST Data:
Name=tercel&Sex=%C4%D0&Age=21&Degree=%B8%DF%D6%D0&Strong=32434&submit1=%CC%E1%BD%BB
以下是我的asp程序,不知道怎么总是报这个错,请高手解答:
<%@ language= "javascript " %>
<%
var Name, Sex, Age, Degree, Speciality, Strong
Name=Request.Form( "Name ")
Sex=Request.Form( "Sex ")
Age=Request.Form( "Age ")
Degree=Request.Form( "Degree ")
Speciality=Request.Form( "Speciality ")
Strong=Request.Form( "Strong ")
if (Name== " ")
{
Response.Write "姓名不能为空! ";
Response.End;
}
if (Sex== " ")
{
Response.Write "必须选择性别! ";
Response.End;
}
if (Age== " ")
{
Response.Write "年龄不能为空! ";
Response.End;
}
if (Degree== " ")
{
Response.Write "必须选择学历! ";
Response.End;
}
if (Speciality== " ")
{
Response.Write "专业不能为空! ";
Response.End;
}
if (Strong== " ")
{
Strong= "无 ";
}
%>
<html>
<head>
</head>
<body>
<form action= "Input.asp ">
<table border= "0 ">
<tr>
<td height= "20 "> </td>
</tr>
<tr>
<td align= "center "> 个人简历信息 </td>
</tr>
<tr>
<td>
<table border= "1 ">
<tr>
<td align= "right "> 姓名: </td>
<td>