28,391
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<title>Redirect示例 </title>
</head>
<body>
<form action="formjump.asp" method="post">
<select name="wheretogo">
<option selected value="fun">Fun </option>
<option value="news">News </option>
<option value="sample">Sample </option>
</select>
<input type=submit name="jump" value="Jump">
</form>
</body>
</html>
<%
Response.buffer=true
%>
<html>
<head>
<title>Rt示例 </title>
</head>
<body>
<%
thisurl="http://192.168.245.2/te3"
where=Request.form("wheretogo")
Select Case where
case "fun"
response.redirect thisurl & "/fun/fun.asp"
case "news"
response.redirect thisurl & "/news/news.asp"
case "sample"
response.redirect thisurl & "/sample/sample.asp"
End Select
response.flush
%>
</body>
<html>