一寸光阴的一寸:asp高手帮忙

来源:百度文库 编辑:高考问答 时间:2024/04/20 19:36:12
很简单,请高手看下.我的前台是
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<title>电脑维护</title>
</head>
<body bgcolor="#FFFFFF">
<form name="form1" methed="post" action="redirect.asp">
<p align="center"><strong>请选择搜索类型    </strong>
<select name="select">
<option value="硬件">硬件</option>
<option value="软件">软件</option>
<option value="常见外设">常见外设</option>
<option value="操作系统">操作系统</option>
<option value="办公软件">办公软件</option>
<option value="网络安全">网络安全</option>
<option value="Internet安全">Internet安全</option>
</select>
</p>
</form>
</body>
</html>
后台是<%
if request.form("select")<>""then
gotourl=request.form("select")
response.redirect(gotourl&".asp")
else
response.write("出错了!")
end if
%>
请问我在预览时怎么没有联接的效果?其他的文件我都有了.

<option value="硬件">硬件</option>
<option value="软件">软件</option>
<option value="常见外设">常见外设</option>
<option value="操作系统">操作系统</option>
<option value="办公软件">办公软件</option>
<option value="网络安全">网络安全</option>
<option value="Internet安全">Internet安全</option>

把value中的直变成英文的试试

不明白你为什么要这么做?
提交表单的按钮呢?

提交按钮都没有

不但没有提交按钮,连表单都没有???我不知道你的这个东东如何能把值传到你所谓的后台呢?不能实现是正常的!如果能实现的话我才觉得奇怪了!呵呵!