魔兽7.1法师盗贼:ASP的问题

来源:百度文库 编辑:高校问答 时间:2024/04/29 02:55:37
各位麻烦问一下 请大家看一下 :
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<form action="b.asp" method="get">
<select name="wheretogo">
<option selected value="sohu" >搜狐</option>
<option value="sina">新浪</option>
<option value="netease">网易</option>
</select>
<input type="submit" value="确定">
</form>

</body>
</html> 这是index页面

下面是B.ASP

<html>
<head>
<title>b</title>
</head>
<body>
<%
where=request.ouerystring("wheretogo")
selectcase where
case "sohu"
response.redirect"http://www.sohu.com"
case "sina"
response.redirect"http://www.xina.com"
case "netease"
response.redirect"http://www.163.com"
End select
%>

但是转到 B.ASP后他会提示500错误 这是怎么回事?
地址栏上显示的是 :
http://localhost/b.asp?wheretogo=sohu

where=request.ouerystring(\"wheretogo\")
改为where=request(\"wheretogo\")